Skip to content

Commit

Permalink
packaging: fix grafana-agent-flow.river (#5802) (#5809)
Browse files Browse the repository at this point in the history
* packaging: fix grafana-agent-flow.river (#5802)

Add needed label in default `grafana-agent-flow.river` default configuration used in downstream packages.

* Update CHANGELOG.md
  • Loading branch information
bricewge authored Nov 20, 2023
1 parent 950870a commit eac661f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ v0.38.0-rc.0 (2023-11-16)

### Bugfixes

- Fix default configuration file `grafana-agent-flow.river` used in downstream packages. (@bricewge)

- Set exit code 1 on grafana-agentctl non-runnable command. (@fgouteroux)

- Fixed an issue where `loki.process` validation for stage `metric.counter` was
Expand Down
4 changes: 2 additions & 2 deletions packaging/grafana-agent-flow/grafana-agent-flow.river
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ logging {
level = "warn"
}

prometheus.exporter.unix {
prometheus.exporter.unix "default" {
include_exporter_metrics = true
disable_collectors = ["mdadm"]
}

prometheus.scrape "default" {
targets = concat(
prometheus.exporter.unix.targets,
prometheus.exporter.unix.default.targets,
[{
// Self-collect metrics
job = "agent",
Expand Down

0 comments on commit eac661f

Please sign in to comment.