{"id":25738732,"url":"https://github.com/rhobs/obsctl-reloader","last_synced_at":"2025-05-08T04:56:08.657Z","repository":{"id":42180401,"uuid":"510462599","full_name":"rhobs/obsctl-reloader","owner":"rhobs","description":"Use obsctl to set rules from PrometheusRules","archived":false,"fork":false,"pushed_at":"2025-05-05T12:46:14.000Z","size":428,"stargazers_count":2,"open_issues_count":11,"forks_count":9,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-05-08T04:55:59.346Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/rhobs.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-07-04T18:19:51.000Z","updated_at":"2025-02-25T11:53:44.000Z","dependencies_parsed_at":"2024-01-08T16:28:17.151Z","dependency_job_id":"9e6a26b8-d5b4-46d5-93f6-ddf7967bf3e3","html_url":"https://github.com/rhobs/obsctl-reloader","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/rhobs%2Fobsctl-reloader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhobs%2Fobsctl-reloader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhobs%2Fobsctl-reloader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhobs%2Fobsctl-reloader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhobs","download_url":"https://codeload.github.com/rhobs/obsctl-reloader/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253002854,"owners_count":21838640,"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":"2025-02-26T07:33:04.721Z","updated_at":"2025-05-08T04:56:08.630Z","avatar_url":"https://github.com/rhobs.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# obsctl-reloader\n\nThis tool uses [obsctl](https://github.com/observatorium/obsctl) to sync rules from your cluster to Observatorium [Rules API](https://observatorium.io/docs/design/rules-api.md/) via prometheus-operator’s [PrometheusRule CRD](https://prometheus-operator.dev/docs/operator/design/#prometheusrule).\n\n## Usage\n\nThe full usage documentation can be found in the [Red Hat Monitoring Group Handbook](https://rhobs-handbook.netlify.app/services/rhobs/rules-and-alerting.md/#sync-rules-from-your-cluster).\n\n```bash mdox-exec=\"obsctl-reloader --help\"\nUsage of obsctl-reloader:\n  -audience string\n    \tThe audience for whom the access token is intended, see https://openid.net/specs/openid-connect-core-1_0.html#IDToken.\n  -issuer-url string\n    \tThe OIDC issuer URL, see https://openid.net/specs/openid-connect-discovery-1_0.html#IssuerDiscovery.\n  -kubeconfig string\n    \tPaths to a kubeconfig. Only required if out-of-cluster.\n  -managed-tenants string\n    \tThe name of the tenants whose rules should be synced. If there are multiple tenants, ensure they are comma-separated.\n  -observatorium-api-url string\n    \tThe URL of the Observatorium API to which rules will be synced.\n  -sleep-duration-seconds uint\n    \tThe interval in seconds after which all PrometheusRules are synced to Observatorium API. (default 15)\n```\n\n\u003e Note: this project is still experimental.\n\nThe tenant K8s secret must have a `tenant` metadata label and the following data fields, for it to be auto-detected by obsctl-reloader.\n\n- `client-id` or `client_id` \n- `client-secret` or `client_secret`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhobs%2Fobsctl-reloader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhobs%2Fobsctl-reloader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhobs%2Fobsctl-reloader/lists"}