Skip to content

Add option to not register instrumentation routes.#47

Merged
jml merged 2 commits intoweaveworks:masterfrom
tomwilkie:no-debug-handlers
Jul 20, 2017
Merged

Add option to not register instrumentation routes.#47
jml merged 2 commits intoweaveworks:masterfrom
tomwilkie:no-debug-handlers

Conversation

@tomwilkie
Copy link
Contributor

@tomwilkie tomwilkie commented Jul 20, 2017

So Server can be used for internet-facing services.

Default of false preserves existing behaviour.

@tomwilkie tomwilkie force-pushed the no-debug-handlers branch from 697777c to 1446e53 Compare July 20, 2017 14:23
Copy link
Contributor

@jml jml left a comment

Choose a reason for hiding this comment

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

Great idea, thanks!

server/server.go Outdated
HTTPListenPort int
GRPCListenPort int

DontRegisterInstrumentation bool

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

@jml jml merged commit aef9a42 into weaveworks:master Jul 20, 2017
@jml
Copy link
Contributor

jml commented Jul 20, 2017

Thanks!

@tomwilkie tomwilkie deleted the no-debug-handlers branch July 20, 2017 15:21
yeya24 pushed a commit to yeya24/common that referenced this pull request Jun 12, 2024
Allow logging flags to be added to custom flag set
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