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

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 ]