qubershipversionexporter

package module
v0.0.0-...-4c91fcd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

README

qubership-version-exporter

Super-Linter Go test Coverage duplicated_lines_density vulnerabilities bugs code_smells

Qubership-version-exporter is a useful tool that allows you to get product, project, third-party versions of an application and store the results in custom Prometheus metrics. The exporter supports the following types of collectors:

  • Postgres collector which collects versions from Postgres database using SQL queries,
  • HTTP collector which collects versions by performing REST requests.
  • ConfigMap collector which collects versions from ConfigMaps and Secrets in Kubernetes.

The results of versions collectors are processed, filtered and exposed as Prometheus metrics.

Public documents

This section contains documents of directories that describe qubership-version-exporter.

Development

Before push your commits and create PR run linters and test.

  • SuperLinter
docker run \
  -e RUN_LOCAL=true \
  -e DEFAULT_BRANCH=$(git rev-parse --abbrev-ref HEAD) \
  --env-file .github/super-linter.env \
  -v ${PWD}:/tmp/lint \
  --rm \
  ghcr.io/super-linter/super-linter:slim-$(sed -nE 's#.*uses:\s+super-linter/super-linter/slim@([^\s]+).*#\1#p' .github/workflows/super-linter.yaml)

Documentation

Overview

Package qubershipversionexporter is the module root. Executable code lives under ./cmd and ./pkg; this file exists so tools that load the module path as a Go package (e.g. golangci-lint in super-linter GO_MODULES) succeed.

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL