Jaeger CollectorService API

The CollectorService API from Jaeger — 1 operation(s) for collectorservice.

Operations 1

POST /api/v2/spans Post Spans #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/jaeger-io-collectorservice-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

jaeger-io-collectorservice-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Jaeger Collector API (api_v2) Collector Service API
  version: '2.0'
  description: 'Jaeger Collector ingest API. The Collector accepts span batches over gRPC

    on port 14250 (`jaeger.api_v2.CollectorService`) and over the HTTP gateway

    at `/api/v2/spans`. Jaeger v2 (since November 2024) also accepts OTLP

    natively on ports 4317 (gRPC) and 4318 (HTTP) and Zipkin on 9411; this

    spec documents the native legacy api_v2 surface.'
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
servers:
- url: http://localhost:14268
  description: Jaeger Collector legacy HTTP endpoint
tags:
- name: CollectorService
paths:
  /api/v2/spans:
    post:
      summary: Post Spans
      description: 'Submit a batch of spans to the Jaeger Collector for storage. The

        gRPC equivalent is `CollectorService/PostSpans`.'
      operationId: postSpans
      tags:
      - CollectorService
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostSpansRequest'
          application/x-protobuf:
            schema:
              $ref: '#/components/schemas/PostSpansRequest'
      responses:
        '200':
          description: Spans accepted by the collector.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostSpansResponse'
components:
  schemas:
    Batch:
      type: object
      description: A batch of spans from a single process. Mirrors `jaeger.api_v2.model.Batch`.
      properties:
        process:
          $ref: '#/components/schemas/Process'
        spans:
          type: array
          items:
            $ref: '#/components/schemas/Span'
    Span:
      type: object
      properties:
        traceId:
          type: string
          description: 16-byte trace identifier, hex-encoded.
        spanId:
          type: string
          description: 8-byte span identifier, hex-encoded.
        operationName:
          type: string
        references:
          type: array
          items:
            $ref: '#/components/schemas/SpanRef'
        flags:
          type: integer
          format: int32
        startTime:
          type: string
          format: date-time
        duration:
          type: string
          description: Duration in protobuf Duration format.
        tags:
          type: array
          items:
            $ref: '#/components/schemas/KeyValue'
        logs:
          type: array
          items:
            $ref: '#/components/schemas/Log'
    Log:
      type: object
      properties:
        timestamp:
          type: string
          format: date-time
        fields:
          type: array
          items:
            $ref: '#/components/schemas/KeyValue'
    PostSpansResponse:
      type: object
      description: Empty response — successful ingest is signaled by 200 OK.
    PostSpansRequest:
      type: object
      required:
      - batch
      properties:
        batch:
          $ref: '#/components/schemas/Batch'
    KeyValue:
      type: object
      properties:
        key:
          type: string
        vType:
          type: string
          enum:
          - STRING
          - BOOL
          - INT64
          - FLOAT64
          - BINARY
        vStr:
          type: string
        vBool:
          type: boolean
        vInt64:
          type: integer
          format: int64
        vFloat64:
          type: number
          format: double
        vBinary:
          type: string
          format: byte
    SpanRef:
      type: object
      properties:
        traceId:
          type: string
        spanId:
          type: string
        refType:
          type: string
          enum:
          - CHILD_OF
          - FOLLOWS_FROM
    Process:
      type: object
      properties:
        serviceName:
          type: string
        tags:
          type: array
          items:
            $ref: '#/components/schemas/KeyValue'