Skip to content

Problem with probe based metrics || my misunderstanding? #368

Answered by manugarg
ypakhomenko asked this question in Q&A
Discussion options

You must be logged in to vote

https://cloudprober.org/docs/surfacers/overview/ sheds some light on this.

You can configure multiple surfacers at the same time. If you don’t specify any surfacer, prometheus and file surfacers are enabled automatically.

If you specify any surfacer in your config, only that surfacer will be enabled. So if you want both, StackDriver and Prometheus (/metrics thing), you'll need to add the following to your config stanza:

surfacer {
  type: PROMETHEUS
}

surfacer {
  type: STACKDRIVER
}

and if you want to see metrics on stdout as well, add file surfacer too:

surfacer {
  type: FILE
}

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@ypakhomenko
Comment options

@manugarg
Comment options

Answer selected by ypakhomenko
@ypakhomenko
Comment options

@ypakhomenko
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants