-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add configuration for otel collector
First round of trying to configure the collector. - Added otel-collector to pender's docker compose, for the first tests. When I get this working I'll look into adding it to Check. - Added a otel-collector-config.example.yaml we can use to create the otel-collector-config.yaml. And updated .gitignore so it does not track the config.yaml one.
- Loading branch information
1 parent
f952a1a
commit 7df2d95
Showing
3 changed files
with
45 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,4 +26,5 @@ config/cookies.txt | |
coverage | ||
.idea | ||
.byebug_history | ||
*.env | ||
*.env | ||
otel-collector-config.yaml |
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
receivers: | ||
prometheus: | ||
config: | ||
scrape_configs: | ||
- job_name: "prometheus" | ||
scrape_interval: 15s | ||
static_configs: | ||
- targets: ["0.0.0.0:3200"] | ||
|
||
processors: | ||
batch: | ||
|
||
exporters: | ||
otlp/metrics: | ||
endpoint: "api.honeycomb.io:443" # US instance | ||
#endpoint: "api.eu1.honeycomb.io:443" # EU instance | ||
headers: | ||
"x-honeycomb-team": "<Honeycomb API KEY>" | ||
"x-honeycomb-dataset": "pender" | ||
|
||
service: | ||
# telemetry: | ||
# logs: | ||
# level: "debug" | ||
pipelines: | ||
metrics: | ||
receivers: [prometheus] | ||
processors: [] | ||
exporters: [otlp/metrics] |