Skip to content

OpenTelemetry exporter plugin, and built-in plugin provision#3014

Open
vigoo wants to merge 45 commits intomainfrom
otlp-plugin
Open

OpenTelemetry exporter plugin, and built-in plugin provision#3014
vigoo wants to merge 45 commits intomainfrom
otlp-plugin

Conversation

@vigoo
Copy link
Contributor

@vigoo vigoo commented Mar 18, 2026

Resolves #1613
Resolves #1614

Introduces a way to have built-in oplog processor plugins:

  • they are stored in the plugins dir of this repo, compiled with golem-cli
  • we store the compiled wasm in the repo too, so cargo install works for golem/golem-cli
  • they are embedded in the registry service binary
  • the built-in plugins are automatically deployed to the system account
  • every new environment automatically gets grants to use them

Adds the first such built-in plugin, the OpenTelemetry exporter:

  • supports traces, logs and metrics
  • tested with dockerized otel-collector and jaeger

Follow-up: #3015

@vigoo vigoo marked this pull request as ready for review March 18, 2026 08:22
@vigoo
Copy link
Contributor Author

vigoo commented Mar 18, 2026

One thing I forgot to check / implement: how do we provision changed / updated built-in plugins when deploying to prod (but keeping the live db)

@vigoo
Copy link
Contributor Author

vigoo commented Mar 18, 2026

One thing I forgot to check / implement: how do we provision changed / updated built-in plugins when deploying to prod (but keeping the live db)

The single line change I've pushed that makes plugins versioned by the golem version fixes this, I think

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test the OpenTelemetry plugin Create an OpenTelemetry oplog processor plugin for golem

1 participant