Skip to content

Updated deprecated prometheus.Handler to promhttp.Handler#13

Open
shashank734 wants to merge 1 commit into
wyukawa:masterfrom
shashank734:patch-1
Open

Updated deprecated prometheus.Handler to promhttp.Handler#13
shashank734 wants to merge 1 commit into
wyukawa:masterfrom
shashank734:patch-1

Conversation

@shashank734

Copy link
Copy Markdown

prometheus.Handler is deprecated and giving an error in new versions

"undefined: prometheus.Handler"

Updated this with new promhttp.Handler

Reference : https://prometheus.io/docs/guides/go-application/

prometheus.Handler is deprecated and giving an error in new versions 

"undefined: prometheus.Handler"

Updated this with new promhttp.Handler

Reference : https://prometheus.io/docs/guides/go-application/
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.

1 participant