Daniel Jaglowski 40b485f08a Update core for v0.90.0 release (#29539) 1 éve
..
example 9f8b115828 [exporter/mezmoexporter] Remove hardcoded "otel" hostname (#13410) 2 éve
internal 1b6653f0de [exporter/mezmo] use generated status header (#22121) 1 éve
testdata dcbbc5f48f [chore] Change exporter config tests to unmarshal config only for that component. (part2) (#14773) 2 éve
Makefile 00e32e8993 [exporter/mezmoexporter] Add the Mezmo Log exporter (#9743) 2 éve
README.md 562dc48d10 Link component issue badges to the respective issue page (#24642) 1 éve
config.go 5133f4ccd6 [chore] use license shortform (#22052) 1 éve
config_test.go 1b6653f0de [exporter/mezmo] use generated status header (#22121) 1 éve
doc.go 1b6653f0de [exporter/mezmo] use generated status header (#22121) 1 éve
exporter.go f4f04fe157 [exporter/mezmoexporter] unexport mezmo structs (#24842) 1 éve
exporter_test.go f4f04fe157 [exporter/mezmoexporter] unexport mezmo structs (#24842) 1 éve
factory.go 1b6653f0de [exporter/mezmo] use generated status header (#22121) 1 éve
factory_test.go 1b6653f0de [exporter/mezmo] use generated status header (#22121) 1 éve
go.mod 40b485f08a Update core for v0.90.0 release (#29539) 1 éve
go.sum 40b485f08a Update core for v0.90.0 release (#29539) 1 éve
metadata.yaml 8a4348cb00 [chore] add codeowners to metadata (#24404) 1 éve
utils.go 5133f4ccd6 [chore] use license shortform (#22052) 1 éve
utils_test.go 5133f4ccd6 [chore] use license shortform (#22052) 1 éve

README.md

Mezmo Exporter

Status
Stability beta: logs
Distributions contrib
Issues Open issues Closed 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.

Configuration options:

  • 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.

Example:

Simple Log Data

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 ]