Skip to content

Commit 9b7040b

Browse files
authored
Update README.md (#71)
1 parent 4584e42 commit 9b7040b

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ You can do all of that in the command line using [curl](https://curl.se/) like t
3434
mkdir my-test-telemetry
3535
cd my-test-telemetry
3636
curl -O -L https://github.com/cisco-open/test-telemetry-generator/releases/latest/download/test-telemetry-generator-otel-proto-0.18.0-fatjar.jar
37-
curl -O https://raw.githubusercontent.com/cisco-open/test-telemetry-generator/master/example-definitions/resource-definition.yaml
38-
curl -O https://raw.githubusercontent.com/cisco-open/test-telemetry-generator/master/example-definitions/trace-definition.yaml
37+
curl -O https://raw.githubusercontent.com/cisco-open/test-telemetry-generator/master/example-definitions/simple/resource-definition.yaml
38+
curl -O https://raw.githubusercontent.com/cisco-open/test-telemetry-generator/master/example-definitions/simple/trace-definition.yaml
3939
curl -O https://raw.githubusercontent.com/cisco-open/test-telemetry-generator/master/example-definitions/cli-target-rest.yaml
4040
```
4141

@@ -50,8 +50,15 @@ Next, open the `cli-target-rest.yml` with an editor of your choice and set the `
5050
Collector](https://opentelemetry.io/docs/collector/) running on `localhost` with an `otlp` receiver listening on port `4318`, update your target config to look like the following:
5151

5252
```yaml
53-
authMode: none
54-
restURL: http://localhost:4318/v1/traces
53+
authMode: "none"
54+
# Set authmode to 'basic' and uncomment username & password if you need authentication
55+
# username: "your-username"
56+
# password: "your-password"
57+
restURL:
58+
baseURL: "http://localhost:4318"
59+
metricsPath: "/v1/metrics"
60+
logsPath: "/v1/logs"
61+
tracesPath: "/v1/traces"
5562
```
5663
5764
Finally, start the test-telemetry-generator:

0 commit comments

Comments
 (0)