How to publish metrics (Thread Count, Handles..) other than the compute metrics from the instance?
Summary
I found the config.yml file in the oracle cloud agent folder under program files.Content
config.yml file looks like below
telemetry:
endpoint_format: 'https://telemetry-ingestion.{}.oraclecloud.com'
endpoint_path: /20180401/metrics
submission_headers:
accept: application/json
content-type: application/json
get_headers:
accept: application/json
metrics:
- friendly_name: CPU Utilization
name: CpuUtilization
unit: Percent
min_range: 0
max_range: 100
- friendly_name: Memory Utilization
name: MemoryUtilization
unit: Percent
min_range: 0
max_range: 100
.
.
.
- friendly_name: Thread Count
name: ThreadCount
unit: Count
perfmon:
metrics:
- path: \Processor(_Total)\% Processor Time
telemetry_metric_name: CpuUtilization
type: double
- path: \Memory\% Committed Bytes In
Tagged:
1