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

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 ]