chore: Add omitempty tag to all config fields (#865)

* chore: Add omitempty tag to all config fields

Signed-off-by: Jorge Turrado <jorge.turrado@mail.schwarz>

* chore: Add omitempty tag to all config fields

Signed-off-by: Jorge Turrado <jorge.turrado@mail.schwarz>

* chore: Add omitempty tag to all config fields

Signed-off-by: Jorge Turrado <jorge.turrado@mail.schwarz>

---------

Signed-off-by: Jorge Turrado <jorge.turrado@mail.schwarz>
1 file changed
tree: 16a510be5c27bb48f40f3445e37bf38923cd01a2
  1. .circleci/
  2. .github/
  3. assets/
  4. config/
  5. expfmt/
  6. helpers/
  7. model/
  8. promslog/
  9. route/
  10. scripts/
  11. server/
  12. version/
  13. .gitignore
  14. .golangci.yml
  15. .yamllint
  16. CHANGELOG.md
  17. CODE_OF_CONDUCT.md
  18. CONTRIBUTING.md
  19. go.mod
  20. go.sum
  21. LICENSE
  22. MAINTAINERS.md
  23. Makefile
  24. Makefile.common
  25. NOTICE
  26. README.md
  27. RELEASE.md
  28. SECURITY.md
README.md

Common

circleci OpenSSF Scorecard

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.

  • assets: Embedding of static assets with gzip support
  • config: Common configuration structures
  • expfmt: Decoding and encoding for the exposition format
  • model: Shared data structures
  • promslog: A logging wrapper around log/slog
  • route: A routing wrapper around httprouter using context.Context
  • server: Common servers
  • version: Version information and metrics