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

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 ]