Skip to main content
Version: Nightly

Jaeger (Experimental)

warning

The Jaeger query APIs are currently in the experimental stage and may be adjusted in future versions.

GreptimeDB currently supports the following Jaeger query interfaces:

  • /api/services: Get all services.
  • /api/operations?service={service}: Get all operations for a service.
  • /api/services/{service}/operations: Get all operations for a service.
  • /api/traces: Get traces by query parameters.

You can use Grafana's Jaeger plugin or Jaeger UI to query traces data in GreptimeDB.

Currently, GreptimeDB exposes the Jaeger HTTP APIs under the /v1/jaeger endpoint.

Quick Start

We will use the Jaeger plugin in Grafana as an example to demonstrate how to query traces data in GreptimeDB. Before starting, please ensure that you have properly started GreptimeDB.

Start an application to generate traces data and write it to GreptimeDB

You can refer to the OpenTelemetry official documentation to choose any programming language you are familiar with to generate traces data. You can also refer to the Configure OpenTelemetry Traces document.

Configure the Grafana Jaeger plugin

  1. Open Grafana and add a Jaeger data source:

    Add Jaeger data source

  2. Fill in the Jaeger address according to your actual situation, then Save and Test. For example:

    http://localhost:4000/v1/jaeger
  3. Use Grafana's Jaeger Explore to view the data:

    Jaeger Explore