This project holds the configuration files for our internal Red Hat Observability Service based on Observatorium.
To install all dependencies:
# Installs pinned versions from `jsonnetfile.lock.json` file.
jb install
To update a dependency, normally the process would be:
# Updates `kube-thanos` to master and sets the new hash in `jsonnetfile.lock.json`.
jb update https://github.com/thanos-io/kube-thanos/jsonnet/kube-thanos@main
# Update all dependancies to master and sets the new hashes in `jsonnetfile.lock.json`.
jb update
Currently jb update
does not seem to work properly - see jsonnet-bundler/jsonnet-bundler#142.
As a workaround, try following this workflow: https://github.com/openshift/cluster-monitoring-operator/blob/master/Documentation/development.md#updating-individual-vendored-jsonnet-code
All dashboards are generated in resources/observability/grafana
(legacy: manifests/production/grafana
) with:
make grafana
Staging: Update the commit hash ref in https://gitlab.cee.redhat.com/service/app-interface/blob/master/data/services/observability/cicd/saas/saas-grafana.yaml
Production: Update the commit hash ref in https://gitlab.cee.redhat.com/service/app-interface/blob/master/data/services/observability/cicd/saas/saas-grafana.yaml
Use synchronize.sh
to create a MR against app-interface
to update dashboards.
All components manifests are generated in resources/services
(legacy: manifests/production/
) with:
make manifests
Staging: update the commit hash ref in https://gitlab.cee.redhat.com/service/app-interface/blob/master/data/services/telemeter/cicd/saas.yaml
Production: update the commit hash ref in https://gitlab.cee.redhat.com/service/app-interface/blob/master/data/services/telemeter/cicd/saas.yaml
Jobs runs are posted in:
#sd-app-sre-info
for grafana dashboards
and
#team-monitoring-info
for everything else.