Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to publish metrics (Thread Count, Handles..) other than the compute metrics from the instance?

edited Apr 29, 2019 5:16AM in OCI - General 1 comment

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!