Skip to content

Add a listener exporting runs as OpenTelemetry traces and logs - #9

Open
crest42 wants to merge 1 commit into
packagefrom
trace_listener
Open

crest42 wants to merge 1 commit into
packagefrom
trace_listener

Conversation

@crest42

@crest42 crest42 commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator
  • Add a listener exporting runs as OpenTelemetry traces and logs

@crest42
crest42 added this pull request to stack #11 November 18, 2026 17:28
@crest42
crest42 removed this pull request from stack #11 November 18, 2026 17:34
@crest42
crest42 changed the base branch from python311 to package November 18, 2026 17:35
@crest42
crest42 added this pull request to stack #13 November 18, 2026 17:36
@crest42 crest42 mentioned this pull request Nov 18, 2026
@crest42
crest42 requested a review from jherbel November 18, 2026 17:43
@crest42

crest42 commented Nov 18, 2026

Copy link
Copy Markdown
Collaborator Author

Hi @jherbel. Here is the new approach with stacked PRs. The changes you requested in the deprecated PR are implemented.

@jherbel jherbel left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only one change in the README please

Comment thread README.md Resolved
RobotmkLibrary.instrumentation.listener.RobotmkListener exports one
trace per robot run over OTLP/HTTP: suite, test and keyword spans with
rf.* attributes and the Robot Framework status, log messages as log
records of the open span, embedded screenshots as image records. The
Checkmk identity is read from CHECKMK_RESOURCE_ATTRIBUTES.

The providers are registered as the process globals so that other
instrumentations nest below the running keyword; a provider registered
earlier is an error. The package exposes __version__ from the installed
metadata as the instrumentation scope version. The library depends on
opentelemetry-sdk and the OTLP/HTTP exporter.

This branch has not been deployed

No deployments
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.

2 participants