FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add dokumentation on how to use `MetricServlet` with Google Guice DI. by goettl79 · Pull Request #230 · prometheus/client_java · GitHub

Add dokumentation on how to use MetricServlet with Google Guice DI. - #230

Closed
goettl79 wants to merge 1 commit into
prometheus:masterfrom
goettl79:master
Closed

Add dokumentation on how to use MetricServlet with Google Guice DI.#230
goettl79 wants to merge 1 commit into
prometheus:masterfrom
goettl79:master

Conversation

Copy link
Copy Markdown

Adds documentation on how to use the prom java client in an Google Guice Dependency Injection Environment.

Copy link
Copy Markdown
Contributor

There's many many frameworks out there that each have their own way of dealing with a standard Servlet. I think it's best to presume that a user knows how this would work in their favourite framework, so there's no need to clutter the docs with multiple fragments of solutions.

If you want to share this information, I'd suggest a blog post or similar that can go into more depth than reference documentation like this.

goettl79 commented Apr 29, 2017 via email

Copy link
Copy Markdown
Author

Copy link
Copy Markdown
Contributor

The MetricsServlet is not a singleton, you can have as many of them as you like (though usually only one).

Copy link
Copy Markdown
Contributor

Another quick way to share your info would be to post a question on StackOverflow that you answer yourself.

goettl79 closed this Apr 30, 2017
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

3 participants


Back | FazBrowse Home | New Git URL