v0.32.0
promlog: Fix caller (#334)

* Fix caller

DefaultCaller is hard-coded to select the 3rd stack frame up, but we
first filter by level, which means we need to take a 4th frame.

Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
1 file changed
tree: 3fcb8e066966ac65b7a8ffee4402de7092c3f51a
  1. .circleci/
  2. .github/
  3. config/
  4. expfmt/
  5. internal/
  6. model/
  7. promlog/
  8. route/
  9. server/
  10. sigv4/
  11. version/
  12. .gitignore
  13. CODE_OF_CONDUCT.md
  14. CONTRIBUTING.md
  15. go.mod
  16. go.sum
  17. LICENSE
  18. MAINTAINERS.md
  19. Makefile
  20. Makefile.common
  21. NOTICE
  22. README.md
  23. SECURITY.md
README.md

Common

circleci

This repository contains Go libraries that are shared across Prometheus components and libraries. They are considered internal to Prometheus, without any stability guarantees for external usage.

  • config: Common configuration structures
  • expfmt: Decoding and encoding for the exposition format
  • model: Shared data structures
  • promlog: A logging wrapper around go-kit/log
  • route: A routing wrapper around httprouter using context.Context
  • server: Common servers
  • version: Version information and metrics