Skip to content
This repository was archived by the owner on Jul 28, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@

- [ENHANCEMENT] Allow reloading configuration using `SIGHUP` signal. (@tharun208)

- [ENHANCEMENT] Add HOSTNAME environment variable to service file to allow for expanding
the $HOSTNAME variable in agent config. (@dfrankel33)

- [BUGFIX] Regex capture groups like `${1}` will now be kept intact when
using `-config.expand-env`.

Expand Down Expand Up @@ -56,7 +59,7 @@

- [FEATURE] Added [Kafka Lag exporter](https://github.com/davidmparrott/kafka_exporter)
integration. (@gaantunes)

- [BUGFIX] Fix race condition that may occur and result in a panic when
initializing scraping service cluster. (@rfratto)

Expand Down
1 change: 1 addition & 0 deletions packaging/deb/grafana-agent.service
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ After=network-online.target
[Service]
Restart=always
User=grafana-agent
Environment=HOSTNAME=%H
EnvironmentFile=/etc/default/grafana-agent
ExecStart=/usr/bin/grafana-agent --config.file $CONFIG_FILE --log.level $LOG_LEVEL $CUSTOM_ARGS
# If running the Agent in scraping service mode, you will want to override this value with
Expand Down
1 change: 1 addition & 0 deletions packaging/rpm/grafana-agent.service
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ After=network-online.target
[Service]
Restart=always
User=grafana-agent
Environment=HOSTNAME=%H
EnvironmentFile=/etc/sysconfig/grafana-agent
ExecStart=/usr/bin/grafana-agent --config.file $CONFIG_FILE --log.level $LOG_LEVEL $CUSTOM_ARGS
# If running the Agent in scraping service mode, you will want to override this value with
Expand Down