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

Publish docker image to be used in tempo examples #7

Merged
merged 6 commits into from
Nov 30, 2022

Conversation

stoewer
Copy link
Collaborator

@stoewer stoewer commented Nov 29, 2022

What this PR does:

This PR contains changes required to publish a xk6-client-tracing docker image that runs k6 to generate traces and send them to a OTLP or Jaeger endpoints:

  • Make endpoints in examples configurable
  • Add example script to docker image
  • GitHub action to build and publish the image when a new release is created

The published docker image can also be used as a replacement for the synthetic-load-generator in Tempos' docker-compose examples. To run an example with xk6-client-tracing replace the load generator service in the respective docker-compose.yaml with the following snippet:

  k6-client-tracing:
    image: ghcr.io/grafana/xk6-client-tracing:latest
    environment:
      - ENDPOINT=tempo:4317
    restart: always
    depends_on:
      - tempo

@stoewer stoewer marked this pull request as ready for review November 29, 2022 23:57
@stoewer stoewer changed the title Publish docker image that can be used in tempo examples Publish docker image to be used in tempo examples Nov 30, 2022
@stoewer stoewer merged commit af84d3f into grafana:main Nov 30, 2022
@stoewer stoewer deleted the publish-docker-image branch November 30, 2022 00:12
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.

None yet

1 participant