Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 1.5 KB

README.md

File metadata and controls

42 lines (33 loc) · 1.5 KB

NetObserv patch content

This package is patched to allow JSON (de)serialization.

Assuming you have "upstream" set as the prometheus upstream remote, and "netobserv" set as the netobserv patched remote, e.g:

$ git remote -v
netobserv	[email protected]:netobserv/prometheus-common.git (fetch)
netobserv	[email protected]:netobserv/prometheus-common.git (push)
upstream	https://github.com/prometheus/common.git (fetch)
upstream	https://github.com/prometheus/common.git (push)

Steps to rebase:

tag=v0.55.0 # the tag to rebase on
git fetch upstream ; git fetch netobserv
git reset --hard $tag
git cherry-pick netobserv/main
git tag -a "$tag-netobserv" -m "$tag-netobserv"
git push netobserv HEAD:main
git push netobserv --tags

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.

  • assets: Embedding of static assets with gzip support
  • 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