forked from open-telemetry/opentelemetry-collector
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
config.yaml: categorize and reorganize YAML file
Categorize namespaces of each item into: - exporters - interceptors - zpages which aesthetically looks nicer than the original but also gives users better context and control over what the agent does. For example here is the new configuration file: ```yaml interceptors: opencensus: address: "127.0.0.1:55678" exporters: stackdriver: project: "project-id" enable_tracing: true zipkin: endpoint: "http://localhost:9411/api/v2/spans" datadog: enable_tracing: false zpages: port: 55679 ``` Fixes #90
- Loading branch information
Showing
6 changed files
with
106 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
opencensus_interceptor: | ||
address: "127.0.0.1:55678" | ||
interceptors: | ||
opencensus: | ||
address: "127.0.0.1:55678" | ||
|
||
stackdriver: | ||
project: "project-id" | ||
enable_tracing: true | ||
exporters: | ||
stackdriver: | ||
project: "project-id" | ||
enable_tracing: true | ||
|
||
zipkin: | ||
endpoint: "http://localhost:9411/api/v2/spans" | ||
zipkin: | ||
endpoint: "http://localhost:9411/api/v2/spans" | ||
|
||
zpages: | ||
port: 55679 | ||
port: 55679 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters