Prometheus is currently the leading tool for metric collection, it’s easy to integrate and easy to use.
Still, short-term retention is a big struggle faced by Prometheus users.
Coralogix helps you overcome this struggle by providing you a way to automatically ship your metrics into your Coralogix account and store them long-term without making complex changes to your Prometheus architecture.
New! You can now enjoy our new APM features when using OpenTelemetry collector with a Kubernetes processor and Prometheus.
In order to send metrics to Coralogix, select a Prometheus RemoteWrite endpoint URL for the domain associated with your Coralogix account.
Under root level add remote_write using the following format:
remote_write: - url: <endpoint> name: '<customer_name>' remote_timeout: 120s bearer_token: '<Send_Your_Data_private_key>'
Prometheus Operator provides Kubernetes native deployment.
You can add remoteWrite in the following format (note the camel case):
remoteWrite: url: <endpoint> name: '<customer_name>' remoteTimeout: 120s bearerToken: '<Send_Your_Data_private_key>'
HTTP 200
: The protobuf file is valid and contains Prometheus Metadata.HTTP 201
: The protobuf file is valid and processed by Coralogix.HTTP 204
: The protobuf file is valid, but the Prometheus.WriteRequest is empty.HTTP 400
: The REST API request itself was malformed. Check the query params.HTTP 401
: The customer is unauthorized. Verify your private key.Coralogix enables you to integrate and view your metrics from Grafana as well.
To connect Grafana to your account you can follow this tutorial: https://coralogix.com/tutorials/grafana-plugin/
To view the metrics in Coralogix:
Enabling Metrics Archive in Coralogix
Learn more on how to enable your S3 archive for metrics:
Connect S3 Archive