{"id":18637265,"url":"https://github.com/openshift/cluster-etcd-operator","last_synced_at":"2025-04-05T06:10:08.283Z","repository":{"id":37350827,"uuid":"161843366","full_name":"openshift/cluster-etcd-operator","owner":"openshift","description":"Operator to manage the lifecycle of the etcd members of an OpenShift cluster","archived":false,"fork":false,"pushed_at":"2024-05-28T16:47:54.000Z","size":56679,"stargazers_count":91,"open_issues_count":12,"forks_count":123,"subscribers_count":19,"default_branch":"master","last_synced_at":"2024-05-29T06:48:51.018Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openshift.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2018-12-14T21:41:12.000Z","updated_at":"2024-05-30T13:17:41.777Z","dependencies_parsed_at":"2023-09-28T19:02:11.168Z","dependency_job_id":"8d9053b7-2b11-4bdd-84dd-2cd4f31825e3","html_url":"https://github.com/openshift/cluster-etcd-operator","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openshift%2Fcluster-etcd-operator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openshift%2Fcluster-etcd-operator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openshift%2Fcluster-etcd-operator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openshift%2Fcluster-etcd-operator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openshift","download_url":"https://codeload.github.com/openshift/cluster-etcd-operator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247294541,"owners_count":20915340,"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-07T05:34:41.755Z","updated_at":"2025-04-05T06:10:08.063Z","avatar_url":"https://github.com/openshift.png","language":"Go","readme":"# cluster-etcd-operator\n\ncluster-etcd-operator (CEO) is an operator that handles the scaling of etcd during cluster bootstrap and regular operation. The operator also manages provisioning etcd dependencies such as TLS certificates.\n\n## Developing the CEO\n\nSee [HACKING.md](docs/HACKING.md).\n\n## Frequently Asked Questions\n\nSee [FAQ.md](docs/FAQ.md).\n\n## Security Response\n\nIf you've found a security issue that you'd like to disclose confidentially\nplease contact Red Hat's Product Security team. Details at\nhttps://access.redhat.com/security/team/contact\n\n## Telemetry queries\n\nThis operator sends some telemetry data from each OpenShift cluster, this data is used to help us engineers observe the clusters and how they behave. For full list of data that is being sent, see [this file](https://github.com/openshift/cluster-monitoring-operator/blob/master/manifests/0000_50_cluster-monitoring-operator_04-config.yaml).\n\nTo query this data make sure you have access to telemetry, primary to https://infogw-proxy.api.openshift.com/. If you do not, follow https://help.datahub.redhat.com/docs/interacting-with-telemetry-data this guide.\n\n### Example queries\n\n1. Number of etcd alerts firing.\n\nThis gives a good insight if we compared with existing alerts which alerts do not fire and could be adjusted. Or which fire too often and we should look into why.\n\n```console\ncount by (alertname) (alerts{alertname=~\"etcd.+\"})\n```\n\n2. Number of etcd slow requests by gRPC service and method.\n\nAgain this is good to adjust the new etcdGRPCRequestsSlow alert, if one fires too often on clusters, it should be looked into.\n\n```console\ncount by (grpc_method, grpc_service) (alerts{alertname=\"etcdGRPCRequestsSlow\"})\n```\n\n3. Median fsync disk duration by provider.\n\nThis gives an insight which provider has slowest disks.\n(None is often metal.)\n\n```console\nsum without (_id) (quantile by (_id)(0.5, instance:etcd_disk_wal_fsync_duration_seconds:histogram_quantile{quantile=\"0.99\"}) + on(_id) group_left(provider) (topk by (_id) (1, id_provider*0)))\n```\n\n4. Median network peer latency by OpenShift version.\n\n```console\nsum without (_id) (quantile by (_id)(0.5, instance:etcd_network_peer_round_trip_time_seconds:histogram_quantile{quantile=\"0.99\"}) + on(_id) group_left(version) (topk by (_id) (1, id_version*0)))\n```\n\n5. Top 100 clusters by db size.\n\n```console\ntopk(100, instance:etcd_mvcc_db_total_size_in_use_in_bytes:sum)\n```\n\n6. Median disk commit duration by provider.\n\n(None is often metal.)\n\n```console\nsum without (_id) (quantile by (_id)(0.5, instance:etcd_disk_backend_commit_duration_seconds:histogram_quantile{quantile=\"0.99\"}) + on(_id) group_left(provider) (topk by (_id) (1, id_provider*0)))\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenshift%2Fcluster-etcd-operator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenshift%2Fcluster-etcd-operator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenshift%2Fcluster-etcd-operator/lists"}