Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: export k6 results output to the OTEL collector #726

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

namkyu1999
Copy link
Member

@namkyu1999 namkyu1999 commented Nov 22, 2024

What this PR does / why we need it:

k6 supports exporting results output in real-time.

This PR implements exporting results output to the OTEL collector followed this instruction.

Here's a result. k6 automatically converts all metric types to an equivalent OTEL metric type. So we don't have to do anything.

Screenshot 2024-11-22 at 5 23 56 PM

Also, I added tags named trace_id so we can filter by current trace context.

Screenshot 2024-11-22 at 5 23 32 PM

dependencies: #725
fyi: config format

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #724

Special notes for your reviewer:

Checklist:

  • Fixes Backlogs of k6 chaos fault #724
  • PR messages has document related information
  • Labelled this PR & related issue with breaking-changes tag
  • PR messages has breaking changes related information
  • Labelled this PR & related issue with requires-upgrade tag
  • PR messages has upgrade related information
  • Commit has unit tests
  • Commit has integration tests
  • E2E run Required for the changes

@namkyu1999 namkyu1999 self-assigned this Nov 22, 2024
@namkyu1999 namkyu1999 changed the title Export k6 results to the OTEL collector feat: export k6 results output to the OTEL collector Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Backlogs of k6 chaos fault
1 participant