Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prometheus dashboard #3186

Merged
merged 8 commits into from
Sep 15, 2017
Merged

Prometheus dashboard #3186

merged 8 commits into from
Sep 15, 2017

Conversation

chelseakomlo
Copy link
Contributor

@chelseakomlo chelseakomlo commented Sep 10, 2017

This PR creates example prometheus configuration files and dashboards for Nomad.

This should be merged after #3171

@chelseakomlo chelseakomlo force-pushed the f-prometheus-dashboard branch 2 times, most recently from c2a797a to c262d9d Compare September 12, 2017 01:04
@chelseakomlo chelseakomlo mentioned this pull request Sep 12, 2017
@chelseakomlo chelseakomlo changed the title WIP: Prometheus dashboard Prometheus dashboard Sep 12, 2017
@chelseakomlo chelseakomlo force-pushed the f-prometheus-dashboard branch 3 times, most recently from 50635e2 to 6fd3ebc Compare September 14, 2017 17:39
CHANGELOG.md Outdated

BUG FIXES:
* core: *Fix restoration of stopped periodic jobs [GH-3201]
* api: Fix search handling of jobs with more than four hyphens and case were
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you fix the star above ^

- See Prometheus's
[Getting Started](https://prometheus.io/docs/introduction/getting_started/)
guide for instructions on how to set up a Prometheus server.
- A running Consul server, which will need to be added to this configuration
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you clarify this point. I think you may want to say that the configuration is setup to read from the local agent and thus if the prometheus server is run on a machine without a Consul agent, the configuration will have to be updated to point to a Consul server.

@@ -0,0 +1,22 @@
global:
external_labels:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this?

metrics_path: /v1/metrics
params:
format: ['prometheus']

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove white space

monitor: 'codelab-monitor'

scrape_configs:
- job_name: 'nomad_data'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nomad_metrics

- See Prometheus's
[Getting Started](https://prometheus.io/docs/introduction/getting_started/)
guide for instructions on how to set up a Prometheus server.
- A running Consul server. This configuration is written for a local remote
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

local remote?

This configuration is written assuming there is a local Consul agent being run along side the  Prometheus server. If this is not the case, the configuration will need to be updated to point at the remote Consul agent.

@chelseakomlo chelseakomlo merged commit 4278a31 into master Sep 15, 2017
@chelseakomlo chelseakomlo deleted the f-prometheus-dashboard branch September 15, 2017 18:30
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants