Our next-gen architecture is built to help you make sense of your ever-growing data. Watch a 4-min demo video!

Back to All Docs

OpenTelemetry OpenTelemetry

Last Updated: Feb. 21, 2024

OpenTelemetry is a vendor-neutral, open-source observability framework for instrumenting, generating, collecting, and exporting telemetry data such as traces, metrics, and logs. Use OpenTelemetry’s collection of APIs, SDKs, and tools to collect and export observability data from your environment to Coralogix.

Instrumentation

Coralogix supports OpenTelemetry to get telemetry data (traces, logs, and metrics) from your application as requests travel through its many services and other infrastructure.

We assume that you have already instrumented your application with OTel SDKs and set up a receiver for your data.

If you’ve never instrumented for observability, we provide some examples of automatic instrumentation for your applications in the languages below.

Kubernetes Observability using OpenTelemetry

Coralogix offers Kubernetes Observability using OpenTelemetry for comprehensive Kubernetes and application observability. Using our OpenTelemetry Chart, the integration enables you to simplify the collection of logs, metrics, and traces from the running application in your pods to the cluster-level components of your Kubernetes cluster, while enabling our Kubernetes Dashboard.

Configuration

We provide a few alternative scenarios for setting up OpenTelemetry and sending your data to Coralogix. Documentation related to the configuration and installation of the v0.64.0 release of OpenTelemetry Collector for different deployments can be found below.

OpenTelemetry Metrics: Best Practices

OpenTelemetry metrics are broadly compatible with Coralogix dimensional metrics. We currently support OpenTelemetry metrics v1.x. All of the supported metric types include an independent set of associated attributes that map directly to dimensions customers can use to filter metric data during your query. While Coralogix now supports Delta Temporality in addition to Cumulative Temporality, we encourage the use of Cumulative Temporality as a best practice.

Temporality

The OpenTelemetry Metrics Data Model and SDK are designed to support both Cumulative and Delta Temporality. It is important to understand that temporality will impact how the SDK manages memory usage.

The use of Cumulative Temporality for monotonic sums is common, exemplified by Prometheus. The use of Delta Temporality for metric sums is also common, exemplified by Statsd.

Delta Temporality

While Coralogix supports Delta Temporality in addition to Cumulative Temporality, we encourage using Cumulative Temporality as a best practice.

Those customers using Delta Temporality should take note of the following configuration parameters in our Delta Cumulative Converter:

  • Coralogix supports monotonic Sum and Histogram data points.
  • Coralogix keeps all metrics in our data store for 24 hours. If values for the same metric arrive in intervals greater than 24 hours, they will be recorded, but treated as “resets.”
  • Your data points may not always arrive consecutively. When a data point is missing, the time series with a missing data point will be delayed for 60 seconds. You can retry sending us missing data points during this window.
  • If a second data point does not arrive after the first, your time series will restart from the third data point.
  • Be cautious about properly setting up your retry or reset series, as the OTEL Exporter can potentially miss data points and may need to resend them.

APM

Enjoy the Coralogix APM features when using OpenTelemetry with Kubernetes or Amazon EC2.

Limits & Quotas

  • Coralogix places a hard limit of 10MB of data to our Otel endpoints, with a recommendation of 2MB.
  • Metric names must be a maximum of 255 characters.
  • Attribute keys for metric data must be a maximum of 255 characters.

Limits apply to single requests, regardless of timespan.

Additional Resources

GitHubOfficial Repository
Instructional VideosIntegrate metrics into Coralogix using OpenTelemetry, Kubernetes & Helm
Integrate logs into Coralogix using OpenTelemetry, Kubernetes & Helm
Capture Kubernetes logs, transform with Logs2Metrics and render with DataMap
BlogsHow to Configure the OTel Community Demo App to Send Telemetry Data to Coralogix
Ship OpenTelemetry Data to Coralogix via Reverse Proxy (Caddy 2)

Support

Need help?

Our world-class customer success team is available 24/7 to walk you through your setup and answer any questions that may come up.

Feel free to reach out to us via our in-app chat or by sending us an email at [email protected].

On this page