Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.31 KB

5-otlp-integration.md

File metadata and controls

36 lines (23 loc) · 1.31 KB

OpenTelemetry collector integration

  • Status: accepted
  • Deciders: Bulat Lutfullin
  • Date: 2021-12-24

Technical Story: description

Context and Problem Statement

Prometheus PushGateway integration messes up metric timestamps, making them depend on poll configuration of prometheus. In addition to that Prometheus doesn't support insert-into-past, thus making old metrics unimportable.

Decision Drivers

  • Prometheus PushGateway doesn't respect metric timestamps
  • Prometheus RemoteWrite API is not properly documented and unstable
  • OpenTelemetry has good GRPC API
  • OpenTelemetry collector has a variety of different exporters

Considered Options

  • Implement OTLP exporter
  • Implement RemoteWrite exporter

Decision Outcome

Chosen option: "Implement OTLP exporter", because it's stable, has GRPC, supports historical metrics, and has many integrations.

Links