Skip to content

feat: integrate Grafana Alloy and Loki for metrics and logging#11189

Open
Dyslex7c wants to merge 2 commits intoNethermindEth:masterfrom
Dyslex7c:feat/grafana-alloy-loki-integration
Open

feat: integrate Grafana Alloy and Loki for metrics and logging#11189
Dyslex7c wants to merge 2 commits intoNethermindEth:masterfrom
Dyslex7c:feat/grafana-alloy-loki-integration

Conversation

@Dyslex7c
Copy link
Copy Markdown

Changes

  • Added scripts/monitoring/alloy-config.alloy- Grafana Alloy configuration that collects Nethermind container logs via the Docker socket and forwards them to Grafana Loki, and scrapes Nethermind Prometheus metrics (port 8008) and forwards them to Grafana remote write endpoint
  • Updated sync-supported-chains.yml to start Grafana Alloy as a Docker sidecar after Sedge brings up the Nethermind node, and stop it gracefully before VM teardown to ensure buffered logs and metrics are flushed
  • Labels aligned with central monitoring conventions (job, project, external_provider, Instance, Network, User) to ensure consistency with the Alloy integration in post-merge-smoke-tests

Types of changes

What types of changes does your code introduce?

  • Bugfix (a non-breaking change that fixes an issue)
  • New feature (a non-breaking change that adds functionality)
  • Breaking change (a change that causes existing functionality not to work as expected)
  • Optimization
  • Refactoring
  • Documentation update
  • Build-related changes
  • Other: Description

Testing

Requires testing

  • Yes
  • No

If yes, did you write tests?

  • Yes
  • No

Documentation

Requires documentation update

  • Yes
  • No

Requires explanation in Release Notes

  • Yes
  • No

Remarks

cc @cbermudez97 for review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants