Skip to content

Commit

Permalink
otel flag changed
Browse files Browse the repository at this point in the history
The `metrics-addr` is going away in the next release (see [breaking changes](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG.md#-breaking-changes-)). It has been replaced by `--set=service.telemetry.metrics.address`
  • Loading branch information
Alex Boten authored Jan 20, 2022
1 parent 468c25a commit cff0778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion remote_write_sender/targets/otel.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ service:
}
defer os.Remove(configFileName)

return runCommand(binary, opts.Timeout, `--metrics-addr=:0`, fmt.Sprintf("--config=%s", configFileName))
return runCommand(binary, opts.Timeout, `--set=service.telemetry.metrics.address=:0`, fmt.Sprintf("--config=%s", configFileName))
}

0 comments on commit cff0778

Please sign in to comment.