Daniel Jaglowski 40b485f08a Update core for v0.90.0 release (#29539) | hai 1 ano | |
---|---|---|
.. | ||
example | %!s(int64=2) %!d(string=hai) anos | |
internal | hai 1 ano | |
testdata | %!s(int64=2) %!d(string=hai) anos | |
Makefile | %!s(int64=2) %!d(string=hai) anos | |
README.md | hai 1 ano | |
config.go | hai 1 ano | |
config_test.go | hai 1 ano | |
doc.go | hai 1 ano | |
exporter.go | hai 1 ano | |
exporter_test.go | hai 1 ano | |
factory.go | hai 1 ano | |
factory_test.go | hai 1 ano | |
go.mod | hai 1 ano | |
go.sum | hai 1 ano | |
metadata.yaml | hai 1 ano | |
utils.go | hai 1 ano | |
utils_test.go | hai 1 ano |
Status | |
---|---|
Stability | beta: logs |
Distributions | contrib |
Issues | |
Code Owners | @dashpole, @billmeyer, @gjanco |
This exporter supports sending OpenTelemetry log data to Mezmo.
Note: Mezmo logs ingestion requires a hostname
field to be present. When logs are sent via this exporter, and hostname
metadata is not added, the Mezmo ingestion API will set hostname=otel
. To
provide the hostname
information, we recommend adding a
Resource Detection Processor
to the collector configuration. Doing so will cause this exporter to
automatically add the hostname
metadata to the outgoing log data whenever
it is available. See the below example configuration for a basic configuration
that adds hostname
detection support.
ingest_url
(optional): Specifies the URL to send ingested logs to. If not
specified, will default to https://logs.mezmo.com/otel/ingest/rest
.ingest_key
(required): Ingestion key used to send log data to Mezmo. See
Ingestion Keys for more details.receivers:
otlp:
protocols:
grpc:
endpoint: ":4317"
processors:
resourcedetection:
detectors:
- system
system:
hostname_sources:
- os
exporters:
mezmo:
ingest_url: "https://logs.mezmo.com/otel/ingest/rest"
ingest_key: "00000000000000000000000000000000"
service:
pipelines:
logs:
receivers: [ otlp ]
processors: [ resourcedetection ]
exporters: [ mezmo ]