Skip to content

Commit

Permalink
OTLP Log Push example
Browse files Browse the repository at this point in the history
  • Loading branch information
lmangani authored Jul 15, 2024
1 parent 18ff353 commit 8db7078
Showing 1 changed file with 37 additions and 1 deletion.
38 changes: 37 additions & 1 deletion docs/logs/ingestion.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Any Loki compatible client can be used with qryn without modifications

## ** Opentelemetry **

?> **qryn** implements the **Opentelemetry/OTLPPush** API to ingest Logs
?> **qryn** implements the **Opentelemetry/OTLPLogPush** API to ingest Logs

⚡ qryn is officially integrated with opentelemetry supports any log, trace or metric format
Ingested data can be queried using any of the avialable qryn APIs (LogQL, PromQL, TraceQL)
Expand All @@ -45,6 +45,42 @@ Ingested data can be queried using any of the avialable qryn APIs (LogQL, PromQL

The [qryn otel-collector](https://github.com/metrico/otel-collector) is designed to store observability data _(Traces, Logs, Metrics)_ from multiple vendors/platforms into ClickHouse using qryn fingerprinting and table formats transparently accessible through qryn via _LogQL, PromQL, Tempo and Pyroscope_ queries.

#### OTLP Log Push Example
```yml
receivers:
journald:
directory: /var/log/journal

processors:
batch:
send_batch_size: 10000
timeout: 5s
memory_limiter:
check_interval: 2s
limit_mib: 1800
spike_limit_mib: 500
attributes:
actions:
- key: instance
action: insert
value: local2

exporters:
otlphttp:
endpoint: "http://qryn:3100"

extensions:
health_check:
pprof:
zpages:

service:
logs:
receivers: [journald]
processors: [batch, attributes]
exporters: [otlphttp]
```
##### Compatible Agents
Any Opentelemetry compatible collector can be used with qryn without modifications
Expand Down

0 comments on commit 8db7078

Please sign in to comment.