Send data to Jaeger

Overview

Onum supports integration with Jaeger . Use the Open Telemetry Sink to send metrics to your Jaeger endpoint.

1

Log in to your Onum tenant and click Data Sinks > New Sink.

2

Double-click the Open Telemetry Sink.

3

Enter a Name for the new Sink. Optionally, add a Description and some Tags to identify the Sink.

4

Choose the gRPC Protocol. When sending traces to Jaeger, a popular distributed tracing backend, this protocol ensures structured, high-performance communication.

5

Endpoint - the default URL is usually http://<your-prometheus-host>:9090

  • Go to Status > Targets URL: http://<host>:9090/targets

  • You’ll see a list of endpoints Prometheus is currently scraping, such as:

    http://node-exporter:9100/metrics
    http://my-app:8080/metrics
6

Port - enter the port included in your endpoint.

7

Send Traces - true Your traces must have a specific set of information in OpenTelemetry format. Check an example for every data type below:

Traces
{
  "resourceSpans": [
    {
      "resource": {
        "attributes": [
          {
            "key": "service.name",
            "value": {
              "stringValue": "my.service"
            }
          }
        ]
      },
      "scopeSpans": [
        {
          "scope": {
            "name": "my.library",
            "version": "1.0.0",
            "attributes": [
              {
                "key": "my.scope.attribute",
                "value": {
                  "stringValue": "some scope attribute"
                }
              }
            ]
          },
          "spans": [
            {
              "traceId": "5B8EFFF798038103D269B633813FC60C",
              "spanId": "EEE19B7EC3C1B174",
              "parentSpanId": "EEE19B7EC3C1B173",
              "name": "I'm a server span",
              "startTimeUnixNano": "1544712660000000000",
              "endTimeUnixNano": "1544712661000000000",
              "kind": 2,
              "attributes": [
                {
                  "key": "my.span.attr",
                  "value": {
                    "stringValue": "some value"
                  }
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}
8

Optionally, enter any additional information. If you don't need any, set everything to false

Pipeline configuration

When it comes to using this Data sink in a Pipeline, you must configure the following output parameters. To do it, simply click the Data sink on the canvas and select Configuration.

Output configuration

Parameters
Description

Event field to be sent*

Choose the field that contains the data to be sent.

Click Save to save your configuration.

Last updated

Was this helpful?