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

fix some bugs in plugin PromExporter. #2189

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

tanglong3bf
Copy link
Contributor

  1. Gauge类的 type() 函数
  2. 应该使用 "\n" 来换行而不是 "\r\n" ,后者会导致 Prometheus 错误的识别 Collector 的类型,比如:"counter\r"
  3. 设置了响应头的 Content-Typetext/plain

@an-tao an-tao merged commit 284d14b into drogonframework:master Oct 21, 2024
34 checks passed
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