Repository navigation
feat!: replace grafana-agent with Grafana Alloy - #88
Conversation
grafana-agent is EOL. Swap the grafana-agent subchart for the grafana/alloy chart (1.13.1) and rename the values key from `grafana-agent` to `alloy`. - Chart.yaml/Chart.lock: alloy dependency replaces grafana-agent - values.yaml: `alloy:` block with the same collector ConfigMap, clustering, mounts and daemonset annotations (drops the flow-mode `agent.mode`) - collector ConfigMap, relabel helpers and status dashboard read the alloy values and job label (`<ns>/alloy/alloy`) and metric - README, TESTING_KIND and CHANGELOG updated; compiled manifests regenerated BREAKING: rename any `grafana-agent:` values overrides to `alloy:`. Pod job label and listen port (12345) change. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
make lint's readme target syncs Chart.yaml to the latest stable tag (v0.7.5) and regenerates the README install command; commit the output so check-unstaged passes. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
dannykopping
left a comment
There was a problem hiding this comment.
LGTM; have you tested that it all works fine?
|
|
||
| - BREAKING: replaces the `grafana-agent` subchart with Grafana Alloy (`alloy` chart 1.13.1). Rename any `grafana-agent:` values overrides to `alloy:`. | ||
| - Pod `job` label changes from `<ns>/grafana-agent/grafana-agent` to `<ns>/alloy/alloy`; update queries and alerts that match the old label. | ||
| - Alloy listens on port 12345 instead of 80. |
There was a problem hiding this comment.
We can make it listen on any port we want; maybe let's export both?
|
@dannykopping my testing consisted of the following: |
dannykopping
left a comment
There was a problem hiding this comment.
Great stuff, thanks @jtslear!
What
grafana-agentis EOL. This swaps thegrafana-agentsubchart for thegrafana/alloychart (1.13.1, app v1.20.1) and renames the values key fromgrafana-agenttoalloy.alloydependency replacesgrafana-agent.alloy:block keeps the same collector ConfigMap, clustering, mounts and daemonset annotation. Dropsagent.mode: flow, which Alloy doesn't have.alloyvalues. The job label becomes<ns>/alloy/alloyand the metric becomesalloy_config_last_load_successful.compiled/resources.yamlregenerated.Breaking changes
grafana-agent:values overrides toalloy:.joblabel changes from<ns>/grafana-agent/grafana-agentto<ns>/alloy/alloy. Queries and alerts on the old label need updating.http-metricsnamed port, so scraping is unaffected.Notes
alloy validate --stability.level=generally-availablepasses on the rendered config againstgrafana/alloy:v1.20.1.alloy-cluster, rendered by the chart.publish-minor, 0.8.0).Reference: