{"id":20102924,"url":"https://github.com/stackrox/rhacs-observability-resources","last_synced_at":"2025-05-06T08:31:01.262Z","repository":{"id":154624773,"uuid":"490347149","full_name":"stackrox/rhacs-observability-resources","owner":"stackrox","description":"RedHat ACS Observability Resources","archived":false,"fork":false,"pushed_at":"2024-11-06T11:39:09.000Z","size":963,"stargazers_count":0,"open_issues_count":5,"forks_count":2,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-11-06T12:35:14.206Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stackrox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-09T15:46:34.000Z","updated_at":"2024-10-29T14:58:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"e33c5cfd-dfa0-4eb5-8fd6-dadca87c46bc","html_url":"https://github.com/stackrox/rhacs-observability-resources","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackrox%2Frhacs-observability-resources","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackrox%2Frhacs-observability-resources/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackrox%2Frhacs-observability-resources/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackrox%2Frhacs-observability-resources/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stackrox","download_url":"https://codeload.github.com/stackrox/rhacs-observability-resources/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224495976,"owners_count":17321024,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T17:33:31.041Z","updated_at":"2025-05-06T08:31:01.255Z","avatar_url":"https://github.com/stackrox.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Managed Red Hat Advanced Cluster Security Service Observability Config\n\n## What is it?\n\nThis repository contains resources \u0026 other information required by the [Observability Operator](https://github.com/rhobs/observability-operator)\nto configure the Observability stack for Managed Red Hat Advanced Cluster Security.\n\nResources are maintained in the `/resources` folder. Sub folders contain the following:\n\n* `/template` - required resources to setup Observability Operator and Red Hat Advanced Cluster Security.\n* `/grafana` - Grafana Dashboards\n* `/prometheus` - Recording/Alert rules, openshift-monitoring federation scrape config, Observatorium remote write config \u0026 PodMonitors\n\n## Install\n\nThe observability stack is installed by ArgoCD from the [gitops repo](https://github.com/stackrox/acscs-manifests).\nPlease follow the instructions in the fleet manager repository to install ArgoCD.\n\n## Branches\n\nThe ACS cloud service data plane environments track the following branches:\n\n| Environment | Branch     |\n| ----------- | ---------- |\n| integration | master     |\n| stage       | stage      |\n| production  | production |\n\nNew changes should propagate through the branches with sufficient soak time. Use the\n[Sync master -\u003e stage action](https://github.com/stackrox/rhacs-observability-resources/actions/workflows/sync-stage-from-master.yaml)\nand [Sync stage -\u003e production action](https://github.com/stackrox/rhacs-observability-resources/actions/workflows/sync-prod-from-stage.yaml)\nGitHub actions to trigger branch synchronization.\n\n## Contributing\n\n### Prerequisites\n\nThe following tools are required for development:\n- `jq` - please follow [the installation instructions](https://jqlang.github.io/jq/download).\n- `mimirtool` - please follow [the installation instructions](https://grafana.com/docs/mimir/latest/manage/tools/mimirtool/#installation).\n- `yq` - please follow [the installation instructions](https://github.com/mikefarah/yq/#install).\n\n### Dashboards\n\nTo make changes to the rhacs dashboards:\n\n* Update the dashboard .json in `resources/grafana/sources`.\n* Run `make generate` to generate the corresponding resources for the Grafana operator.\n\nTo make changes to Kubernetes mixin resources:\n\nFirst, make sure you have `go-jsonnet` and `jsonnet-bundler` installed.\n\nThen:\n* Update `resources/mixins/kubernetes/mixin.libsonnet`.\n* Run `make generate` to generate the corresponding mixin resources.\n\n### Federated metrics\n\nIf you make changes to Alerts, Recording rules, or Grafana dashboards, and if they include metrics collected by OSD Prometheus, ensure that the federation config includes new metrics.\n\n* Run `make generate-federate` to update federation config.\n* And commit changes in `resources/prometheus/federation-config.yaml` file to the repo.\n\nYou can add additional federated metrics that are not used in any Alert, Recording rule, or Grafana dashboard to `resources/prometheus/federation-config-base.yaml,` and they will be merged with other metrics. Always add a comment with the reason why metrics are added to the base list.\n\n### Pre-commit hook\n\nThis repository makes use of [pre-commit](https://pre-commit.com/) framework. Refer to the [installation instructions](https://pre-commit.com/#installation) for further information.\nTo enable pre-commits, run the following in the root of the repository:\n```bash\n$ pre-commit install\n```\n\nThe repository specifies a few local hooks. The hooks themselves have dependencies, which are required. Make sure you have the following installed:\n- yq\n- promtool\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackrox%2Frhacs-observability-resources","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstackrox%2Frhacs-observability-resources","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackrox%2Frhacs-observability-resources/lists"}