0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-16 21:56:37 -05:00
zot/examples/metrics
Nicol 33a431ef43
Update go version to 1.19 (#829)
* ci: Update go version to 1.19

Signed-off-by: Nicol Draghici <idraghic@cisco.com>

* ci: Fix lint issues

Signed-off-by: Nicol Draghici <idraghic@cisco.com>

* ci: Added needprivileges to lint, made needprivileges pass lint

Signed-off-by: Catalin Hofnar <catalin.hofnar@gmail.com>
Signed-off-by: Nicol Draghici <idraghic@cisco.com>

Signed-off-by: Nicol Draghici <idraghic@cisco.com>
Signed-off-by: Catalin Hofnar <catalin.hofnar@gmail.com>
Co-authored-by: Catalin Hofnar <catalin.hofnar@gmail.com>
2022-10-05 13:21:14 +03:00
..
exporter Implement an API for performance monitoring 2021-11-12 11:14:10 -08:00
kubernetes Renamed zot-exporter to zxp and added its image to zot release 2022-01-19 10:31:37 -08:00
Dockerfile Update go version to 1.19 (#829) 2022-10-05 13:21:14 +03:00
Dockerfile-minimal Update go version to 1.19 (#829) 2022-10-05 13:21:14 +03:00
Dockerfile-zxp Update go version to 1.19 (#829) 2022-10-05 13:21:14 +03:00
kind_setup.sh Renamed zot-exporter to zxp and added its image to zot release 2022-01-19 10:31:37 -08:00
Makefile Renamed zot-exporter to zxp and added its image to zot release 2022-01-19 10:31:37 -08:00
README.md Renamed zot-exporter to zxp and added its image to zot release 2022-01-19 10:31:37 -08:00

A quick zot Metrics setup can be deployed locally in a kind cluster. It contains:

  • a Prometheus server deployed through an Operator
  • a dist-spec-only zot deployment (a pod with 2 containers: the zot server & the node exporter)
  • a zot with all extensions enabled

Prerequisites

In case the prerequisites tool list is not fulfilled the script will install them (needs root privileges)

Metrics setup

To run a quick setup:

./kind-setup.sh

At the end of the script below ports are locally available (using kubectl port-forward) to easy access the Prometheus & zot servers on the host:

  • 9090 - for accessing Prometheus server
  • 5000 - for zot with all extensions enabled
  • 5050 - for accessing dist-spec-only zot server
  • 5051 - for zxp access (a Prometheus Node exporter)