OpenTelemetry Bot d680729c09 [chore] Prepare release 0.90.0 (#29543) před 1 rokem
..
internal e3da924ad0 feat: change honeycombmarkerexporter to alpha (#29272) před 1 rokem
testdata d376053758 [exporter/honeycombmarker] Fix default url and dataset_slug (#29309) před 1 rokem
Makefile 628a6cb5f3 feat: add honeycomb marker exporter structure (#27001) před 1 rokem
README.md 6817ece007 [exporter/honeycombmarker] Update distributions (#29312) před 1 rokem
config.go d376053758 [exporter/honeycombmarker] Fix default url and dataset_slug (#29309) před 1 rokem
config_test.go d376053758 [exporter/honeycombmarker] Fix default url and dataset_slug (#29309) před 1 rokem
doc.go 628a6cb5f3 feat: add honeycomb marker exporter structure (#27001) před 1 rokem
factory.go d376053758 [exporter/honeycombmarker] Fix default url and dataset_slug (#29309) před 1 rokem
factory_test.go 628a6cb5f3 feat: add honeycomb marker exporter structure (#27001) před 1 rokem
go.mod d680729c09 [chore] Prepare release 0.90.0 (#29543) před 1 rokem
go.sum 40b485f08a Update core for v0.90.0 release (#29539) před 1 rokem
logs_exporter.go d376053758 [exporter/honeycombmarker] Fix default url and dataset_slug (#29309) před 1 rokem
logs_exporter_test.go d376053758 [exporter/honeycombmarker] Fix default url and dataset_slug (#29309) před 1 rokem
metadata.yaml 6817ece007 [exporter/honeycombmarker] Update distributions (#29312) před 1 rokem

README.md

Honeycomb Marker Exporter

Status
Stability alpha: logs
Distributions contrib
Issues Open issues Closed issues
Code Owners @TylerHelmuth, @fchikwekwe

This exporter allows creating markers, via the Honeycomb Markers API, based on the look of incoming telemetry.

The following configuration options are supported:

  • api_key (Required): This is the API key for your Honeycomb account.
  • api_url (Optional): This sets the hostname to send marker data to. If not set, will default to https://api.honeycomb.io/
  • markers (Required): This is a list of configurations to create an event marker.
    • type (Required): Specifies the marker type.
    • rules (Required): This is a list of OTTL rules that determine when to create an event marker.
    • log_conditions (Required): A list of OTTL log conditions that determine a match. The marker will be created if ANY condition matches.
    • dataset_slug (Optional): The dataset in which to create the marker. If not set, will default to __all__.
    • message_key (Optional): The key of the attribute whose value will be used as the marker's message. If necessary the value will be converted to a string.
    • url_key (Optional): The key of the attribute whose value will be used as the marker's url. If necessary the value will be converted to a string.

Example:

exporters:
  honeycombmarker:
    api_key: {{env:HONEYCOMB_API_KEY}}
    markers:
      # Creates a new marker anytime the exporter sees a k8s event with a reason of Backoff
      - type: k8s-backoff-events
        rules:
          - log_conditions:
              - IsMap(body) and IsMap(body["object"]) and body["object"]["reason"] == "Backoff"