grafana / phlare

🔥 horizontally-scalable, highly-available, multi-tenant continuous profiling aggregation system

Home Page:https://grafana.com/oss/phlare/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logger http middleware bad status

cyriltovena opened this issue · comments

Describe the bug

The current http logger is not logging 500 or 400 correctly, always 200 we should also check the label for http metrics.

To Reproduce

Steps to reproduce the behavior:

  1. Start Phlare (SHA or version)
  2. Perform Operations(Read/Write/Others)

Expected behavior

A clear and concise description of what you expected to happen.

Environment

  • Infrastructure: [e.g., Kubernetes, bare-metal, laptop]
  • Deployment tool: [e.g., helm, jsonnet]

Additional Context

Could not reproduce this one.