Daniel Jaglowski 40b485f08a Update core for v0.90.0 release (#29539) | пре 1 година | |
---|---|---|
.. | ||
example | пре 2 година | |
internal | пре 1 година | |
testdata | пре 2 година | |
Makefile | пре 2 година | |
README.md | пре 1 година | |
config.go | пре 1 година | |
config_test.go | пре 1 година | |
doc.go | пре 1 година | |
exporter.go | пре 1 година | |
exporter_test.go | пре 1 година | |
factory.go | пре 1 година | |
factory_test.go | пре 1 година | |
go.mod | пре 1 година | |
go.sum | пре 1 година | |
metadata.yaml | пре 1 година | |
utils.go | пре 1 година | |
utils_test.go | пре 1 година |
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 ]