mirror of
https://github.com/kemko/nomad.git
synced 2026-01-05 18:05:42 +03:00
Merge pull request #3240 from hashicorp/d-metrics-guide-fix
Metrics guide fix
This commit is contained in:
@@ -18,35 +18,37 @@ integrate with a Nomad cluster. While this introduces the basics to get a
|
||||
dashboard up and running, Nomad exposes a wide vareity of metrics, which can be
|
||||
explored via both Grafana and Prometheus.
|
||||
|
||||
## What are Prometheus and Grafana?
|
||||
## What metrics tools can be integrated with Nomad?
|
||||
|
||||
Amongst other great metrics visualization tools, Prometheus and Grafana both
|
||||
aggregate data and provide an easy eay to visuqlize data.
|
||||
Nomad provides the opportunity to integrate with metrics dashboard tools such
|
||||
as [Prometheus](https://prometheus.io/), [Grafana](https://grafana.com/),
|
||||
[Graphite](https://graphiteapp.org/), [DataDog](https://www.datadoghq.com/),
|
||||
and [Circonus](https://www.circonus.com ).
|
||||
|
||||
In addition to these tools, [Graphite](https://graphiteapp.org/) and
|
||||
[DataDog](https://www.datadoghq.com/) are also great tools to consider.
|
||||
See Nomad's [Metrics API](/api/metrics.html.md) for more information on how
|
||||
data can be exposed for other metrics tools as well.
|
||||
|
||||
## Setting up metrics
|
||||
|
||||
Configurations for Grafana and Prometheus can be found in the
|
||||
[integrations](https://github.com/hashicorp/nomad/integrations) subfolder.
|
||||
[integrations](https://github.com/hashicorp/nomad/tree/master/integrations) subfolder.
|
||||
|
||||
For Prometheus, first follow Prometheus's [Getting Started
|
||||
Guide](https://prometheus.io/docs/introduction/getting_started/) in order to
|
||||
set up a Prometheus server. Next, use the (Nomad Prometheus
|
||||
Configuration)[https://github.com/hashicorp/noamd/integrations/prometheus/prometheus.yml]
|
||||
Configuration)[https://github.com/hashicorp/tree/master/noamd/integrations/prometheus/prometheus.yml]
|
||||
in order to configure Prometheus to talk to a Consul agent to fetch information
|
||||
about the Nomad cluster. See the
|
||||
[README](https://github.com/hashicorp/nomad/integrations/prometheus/README.md)
|
||||
[README](https://github.com/hashicorp/tree/master/nomad/integrations/prometheus/README.md)
|
||||
for more information.
|
||||
|
||||
For Grafana, follow Grafana's [Getting
|
||||
Started](http://docs.grafana.org/guides/getting_started/) guide to set up a
|
||||
running Grafana instance. Then, import the sample [Nomad
|
||||
Dashboard](https://github.com/hashicorp/nomad/integrations/grafana/sample_dashboard.json)
|
||||
Dashboard](https://github.com/hashicorp/nomad/tree/master/integrations/grafana/sample_dashboard.json)
|
||||
for an example Grafana dashboard. This dashboard requires a Prometheus data
|
||||
source to be configured, see the
|
||||
[README.md](https://github.com/hashicorp/nomad/integrations/grafana/README.md)
|
||||
[README.md](https://github.com/hashicorp/nomad/tree/master/integrations/grafana/README.md)
|
||||
for more information.
|
||||
|
||||
## Tagged Metrics
|
||||
|
||||
Reference in New Issue
Block a user