Open Telemetry
OpenTelemetry is a collection of tools, APIs, and SDKs. Use it to instrument, generate, collect, and export telemetry data (metrics, logs, and traces) to help analyze software’s performance and behavior.
Prometheus Remote Write Exporter can be leveraged to send OpenTelemetry metrics to Prometheus remote write compatible backends and these metrics can be visualized on Logiq
1
2
exporters:
3
prometheusremotewrite:
4
endpoint: "https://<logiq-endpoint>/api/v1/receive"
5
wal: # Enabling the Write-Ahead-Log for the exporter.
6
directory: ./prom_rw # The directory to store the WAL in
7
buffer_size: 100 # Optional count of elements to be read from the WAL before truncating; default of 300
8
truncate_frequency: 45s # Optional frequency for how often the WAL should be truncated. It is a time.ParseDuration; default of 1m
9
tls:
10
insecure: "false"
11
insecure_skip_verify: "true"
12
external_labels: #labels to identify the metric
13
label1: value1
14
15
receivers:
16
otlp:
17
protocols:
18
grpc:
19
http:
20
21
processors:
22
batch:
23
24
service:
25
pipelines:
26
metrics:
27
receivers: [otlp]
28
processors: [batch]
29
exporters: [prometheusremotewrite]
Copied!
Export as PDF
Copy link