{"repo":"grafana/xk6-client-tracing","free":true,"listed":false,"github":"https://github.com/grafana/xk6-client-tracing","clone":"git clone https://github.com/grafana/xk6-client-tracing.git","description":"A k6 extension for testing distributed tracing backends","language":"Go","stars":60,"topics":["opentelemetry","k6","distributed-tracing","tracing","xk6"],"license":"AGPL-3.0","category":"analytics","readme_excerpt":"xk6-client-tracing ### ⚠️ In Development This project is in development and changes a lot between commits. Use at your own risk. This extension provides k6 with the required functionality required to load test distributed tracing backends. Usage Generating traces and sending them to an agent or backend requires two things: a client and a trace generator. Generators have a method called traces() that can be used to generate traces. The client provides a method push() which receives the generated traces as first parameter and sends them to the configured collector. Creating a client requires a client configuration: The configuration is an object with the following schema: There are two different types of generators which are described in the following sections. Parameterized trace generator This generator creates traces consisting of completely randomized spans. The spans contain a configurable number of random attributes with randomly assigned values. The main purpose of this generator is to create a large amount of spans with few lines of code. An example can be found in ./examples/param. Templated trace generator This generator creates realistically looking and traces that contain spans with span name, span kind, and attributes. The trace is generated from a template configurations that describes how each should be generated. The following listing creates a generator that creates traces with a single span: The generated span will have the name get-articles . The generator wi","default_branch":null,"files":null,"tree":[],"storefront":"/r/grafana","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/grafana/xk6-client-tracing/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}