mezmoexporter

package module
v0.160.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2026 License: Apache-2.0 Imports: 21 Imported by: 3

README

Mezmo Exporter

Status
Stability deprecated: logs
Deprecation of logs Date: 2026-07-30
Migration Note: Use the OTLP/HTTP exporter to send logs directly to Mezmo instead. See https://docs.mezmo.com/telemetry-pipelines/otel-collector and https://docs.mezmo.com/telemetry-pipelines/open-telemetry-source for migration guidance. This component will be removed in a future release.
Distributions contrib
Issues Open issues Closed issues
Code coverage codecov
Code Owners @dashpole, @billmeyer, @gjanco

Deprecated

This exporter is deprecated and will be removed in a future release. Mezmo now supports ingesting OpenTelemetry data directly via OTLP, so a Mezmo-specific exporter is no longer necessary. To migrate, use the OTLP/HTTP exporter to send logs directly to Mezmo. See the following for migration guidance:

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:
  resource_detection:
    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: [ resource_detection ]
      exporters: [ mezmo ]

Documentation

Overview

Package mezmoexporter implements an exporter that sends data to Mezmo.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFactory

func NewFactory() exporter.Factory

NewFactory creates a factory for Mezmo exporter.

Types

type Config

type Config struct {
	ClientConfig  confighttp.ClientConfig                                  `mapstructure:",squash"` // squash ensures fields are correctly decoded in embedded struct.
	QueueSettings configoptional.Optional[exporterhelper.QueueBatchConfig] `mapstructure:"sending_queue"`
	BackOffConfig configretry.BackOffConfig                                `mapstructure:"retry_on_failure"`

	// IngestURL is the URL to send telemetry to.
	IngestURL string `mapstructure:"ingest_url"`

	// Token is the authentication token provided by Mezmo.
	IngestKey configopaque.String `mapstructure:"ingest_key"`
}

Config defines configuration for Mezmo exporter.

func (*Config) Validate

func (c *Config) Validate() error

Directories

Path Synopsis
internal
metadata
Package metadata contains the autogenerated telemetry and build information for the exporter/mezmo component.
Package metadata contains the autogenerated telemetry and build information for the exporter/mezmo component.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL