Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: May Lee <[email protected]>
  • Loading branch information
rodrigo-roca and maycmlee authored Jul 23, 2024
1 parent 8a94b00 commit fe19614
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/commands/trace/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ datadog-ci trace --name "Say Hello" -- echo "Hello World"

- The positional arguments are the command which will be launched and traced.
- `--name` (default: same as <command>) is a human-friendly name for the reported span.
- `--tags` is an array of key value pairs of the shape `key:value`. This will be the tags added to the custom span.
The resulting dictionary will be merged with whatever is in the `DD_TAGS` environment variable. If a `key` appears both in `--tags` and `DD_TAGS`, whatever value is in `DD_TAGS` will take precedence.
- `--measures` is an array of key value pairs of the shape `key:value`. This will be the measures added to the custom span.
- `--tags` is an array of key-value pairs with the format `key:value`. These tags are added to the custom span.
The resulting dictionary is merged with what is in the `DD_TAGS` environment variable. If a `key` appears both in `--tags` and `DD_TAGS`, the value in `DD_TAGS` takes precedence.
- `--measures` is an array of key-value pairs with the format `key:value`. These measures are added to the custom span.
The `value` must be a number.
- `--no-fail` (default: `false`) will prevent the trace command from failing even when not run in a supported CI Provider. In this case, the command will be launched and nothing will be reported to Datadog.
- `--dry-run` (default: `false`) it will run the command without sending the custom span. All other checks are performed.
- `--dry-run` (default: `false`) runs the command without sending the custom span. All other checks are performed.

#### Environment variables

Expand Down

0 comments on commit fe19614

Please sign in to comment.