tag | a1e9705c315cec95db3972bff1188618cdc86bee | |
---|---|---|
tagger | Robert Fratto <robertfratto@gmail.com> | Thu Apr 14 11:03:29 2022 -0400 |
object | 35015aa4e1d5e51598c74bf654a965c841d2c266 |
release v0.24.1
commit | 35015aa4e1d5e51598c74bf654a965c841d2c266 | [log] [tgz] |
---|---|---|
author | Robert Fratto <robertfratto@gmail.com> | Thu Apr 14 11:02:56 2022 -0400 |
committer | GitHub <noreply@github.com> | Thu Apr 14 11:02:56 2022 -0400 |
tree | 9ce1832df6870baece6baaf6a4f628b23bf2f96d | |
parent | 4ec400bf3cc81b0df939bf835cb0be16e5a16714 [diff] |
Prepare for 0.24.1 (#1615) * Set up the default logger parameters (#1611) * Set up the default logger parameters Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com> * Set up the default logger parameters vol.2 Signed-off-by: Paschalis Tsilias <paschalis.tsilias@grafana.com> (cherry picked from commit 3b8d8b9f3a5b1e3a7081559cf0b136b031044e69) * pkg/operator/config: don't set non-existent username_file field (#1612) PR #1441 introduced a change to use password_file for basic auth, but accidentally also generated a username_file field which doesn't exist. (cherry picked from commit 378ffeda5f9107b8acc0e24b21bd2787bc9d6d78) * Bump GitHub exporter version (#1589) * bump version of github-exporter This bumps the version of github-exporter to the latest upstream commit, fixing numerous bugs since the latest development release. Closes #1588. * add changelog entry Also add a retroactive changelog entry for #1584 (cherry picked from commit 61e8f376416324538b943d5148fb3346183d6f5e) * udpate import order in agentctl main.go (#1584) (cherry picked from commit 78aa6238ab8a17fd9ab661625a0ecd36076077cc) * Embed time zone data for logs package (#1594) (cherry picked from commit 2c53aff50ded51277078f3b13377baf8a875f8e1) * changelog: add changelog entry for agentctl version info bugfix * Set `Content-Type` as `application/json` to JSON endpoints (#1596) * Set json content-type to JSON endpoints * Update CHANGELOG (cherry picked from commit cff7cb44c0d204fa1de3f7fe540041c60361ce37) * prepare for 0.24.1 release Co-authored-by: Paschalis Tsilias <tpaschalis@users.noreply.github.com> Co-authored-by: Robert Lankford <robert.lankford@grafana.com> Co-authored-by: Marc Tudurà <marctc@protonmail.com>
Grafana Agent is a telemetry collector for sending metrics, logs, and trace data to the opinionated Grafana observability stack. It works best with:
Users of Prometheus operating at a massive scale (i.e., millions of active series) can struggle to run an unsharded singleton Prometheus instance: it becomes a single point of failure and requires a giant machine with a lot of resources allocated to it. Even with proper sharding across multiple Prometheus instances, using Prometheus to send data to a cloud vendor can seem redundant: why pay for cloud storage if data is already stored locally?
The Grafana Agent uses the same code as Prometheus, but tackles these issues by only using the most relevant parts of Prometheus for interaction with hosted metrics:
On top of these, the Grafana Agent enables easier sharding mechanisms that enable users to shard Agents across their cluster and lower the memory requirements per machine.
A typical deployment of the Grafana Agent for Prometheus metrics can see up to a 40% reduction in memory usage with equal scrape loads.
The Grafana Agent it can be used to send Prometheus metrics to any system that supports the Prometheus remote_write
API.
By heavily optimizing Prometheus for remote write and resource reduction, some trade-offs have been made:
While the Agent can't use recording rules and alerts, remote_write
systems such as Cortex currently support server-side rules and alerts. Note that this trade-off means that reliability of alerts are tied to the reliability of the remote system and alerts will be delayed at least by the time it takes for samples to reach the remote system.
When using Kubernetes this link offers the best guide.
Other installation methods can be found in our Production documentation.
More detailed documentation is provided as part of the repository.
The example/
folder contains docker-compose configs and a local k3d/Tanka environment. Both examples deploy the Agent, Cortex and Grafana for testing the agent. See the docker-compose README and the k3d example README for more information.
The Grafana Agent vendors a downstream Prometheus repository maintained by Grafana Labs. This is done so experimental features Grafana Labs wants to contribute upstream can first be tested and iterated on quickly within the Agent. We aim to keep the experimental changes to a minimum and upstream changes as soon as possible.
For more context on our vendoring strategy, read our downstream repo maintenance guide.
If you have any questions or feedback regarding the Grafana Agent:
Any contributions are welcome and details can be found in our contributors guide.