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 metrics #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Prometheus metrics #3

wants to merge 1 commit into from

Conversation

fihuer
Copy link
Member

@fihuer fihuer commented Aug 22, 2017

Depends on #1

@fihuer fihuer requested a review from arno August 22, 2017 12:59
Copy link
Contributor

@arno arno left a comment

Choose a reason for hiding this comment

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

It seems the vendor files were directly copied. Can you use Glide to manage them instead (see https://glide.sh and the glide.yaml file)?

You also need to update the documentation files in doc/ to describe the new PromListen parameter (it may be renamed prom_listen to match the other parameters?).

@@ -26,12 +26,17 @@ import (

"github.com/op/go-logging"
"gopkg.in/yaml.v2"

"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promhttp"
Copy link
Contributor

Choose a reason for hiding this comment

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

Move these imports below the go-logging import.


"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promhttp"
"net/http"
Copy link
Contributor

Choose a reason for hiding this comment

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

Move this import with the other standard imports.

@arno arno force-pushed the prometheus_metrics branch 3 times, most recently from 7e642a4 to 5896abc Compare July 5, 2018 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants