OpenTelemetry Bot d680729c09 [chore] Prepare release 0.90.0 (#29543) | 1 жил өмнө | |
---|---|---|
.. | ||
internal | 1 жил өмнө | |
testdata | 1 жил өмнө | |
Makefile | 1 жил өмнө | |
README.md | 1 жил өмнө | |
config.go | 1 жил өмнө | |
config_test.go | 1 жил өмнө | |
factory.go | 1 жил өмнө | |
factory_test.go | 1 жил өмнө | |
go.mod | 1 жил өмнө | |
go.sum | 1 жил өмнө | |
loki.go | 1 жил өмнө | |
loki_test.go | 1 жил өмнө | |
metadata.yaml | 1 жил өмнө |
Status | |
---|---|
Stability | alpha: logs |
Distributions | contrib, sumo |
Issues | |
Code Owners | @mar4uk, @jpkrohling |
The Loki receiver implements the Loki push api as specified here. It allows Promtail instances to specify the open telemetry collector as their lokiAddress.
This receiver runs HTTP and GRPC servers to ingest log entries in Loki format.
The settings are:
endpoint
(required, default = 0.0.0.0:3500 for HTTP protocol, 0.0.0.0:3600 gRPC protocol): host:port to which the receiver is going to receive data.use_incoming_timestamp
(optional, default = false) if set true
the timestamp from Loki log entry is usedExample:
receivers:
loki:
protocols:
http:
endpoint: 0.0.0.0:3500
grpc:
endpoint: 0.0.0.0:3600
use_incoming_timestamp: true
Several helper files are leveraged to provide additional capabilities automatically: