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

[tracegen] Update installation instructions #9596

Merged
merged 1 commit into from
May 2, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions tracegen/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,14 @@ This utility simulates a client generating traces, useful for testing and demons

## Installing

To install the latest version run the following command:

```console
$ go get github.com/open-telemetry/opentelemetry-collector-contrib/tracegen
$ go install github.com/open-telemetry/opentelemetry-collector-contrib/tracegen@latest
```

Check the [`go install` reference](https://go.dev/ref/mod#go-install) to install specific versions.

## Running

First, you'll need an OpenTelemetry Collector to receive the trace data. Follow the project's instructions for a detailed setting up guide. The following configuration file should be sufficient:
Expand Down Expand Up @@ -45,4 +49,4 @@ Or, to generate a specific number of traces:
$ tracegen -otlp-insecure -traces 1
```

Check `-help` for all the options.
Check `-help` for all the options.