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

Need Help on Set Up Management Agents to Collect Metrics in Prometheus Format

edited Aug 18, 2022 4:51PM in OCI - General

Summary:

I have tried the following steps documented at https://docs.oracle.com/en-us/iaas/management-agents/doc/deploy-management-agents-prometheus.html

There were no errors in the setup. All the steps went through.

I couldn't find new metric namespace "poc_prometheus" by navigating to OCI -> Observability & Management -> Monitoring -> Metric Explorerer. Where can I find this new metric space? Please help me in traiging this issue.

Content (required):

$ cat /opt/oracle/mgmt_agent/agent_inst/discovery/PrometheusEmitter/nodeVM1-ol7.properties
# property file scraping all metrics of the node_exporter that has been set up on 10.20.30.40
url=http://10.20.30.40:9100/metrics #Replaced with my url
namespace=poc_prometheus
nodeName=nodeVM1-ol7
metricDimensions=nodeName
allowMetrics=*
compartmentId=<your_compartment>. #Given my compartment id

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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