{"id":27870898,"url":"https://github.com/sapcc/promquery-exporter","last_synced_at":"2026-03-07T13:02:50.703Z","repository":{"id":288471523,"uuid":"968222419","full_name":"sapcc/promquery-exporter","owner":"sapcc","description":"Execute PromQL query and reexport the results","archived":false,"fork":false,"pushed_at":"2025-04-29T10:17:05.000Z","size":2289,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":38,"default_branch":"main","last_synced_at":"2025-04-29T11:23:05.587Z","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/sapcc.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,"zenodo":null}},"created_at":"2025-04-17T17:56:40.000Z","updated_at":"2025-04-29T10:08:43.000Z","dependencies_parsed_at":"2025-04-18T08:36:03.827Z","dependency_job_id":"5d4dde3e-37f2-43a3-813c-40ccbb51239a","html_url":"https://github.com/sapcc/promquery-exporter","commit_stats":null,"previous_names":["sapcc/promquery-exporter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sapcc%2Fpromquery-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sapcc%2Fpromquery-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sapcc%2Fpromquery-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sapcc%2Fpromquery-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sapcc","download_url":"https://codeload.github.com/sapcc/promquery-exporter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252413465,"owners_count":21743907,"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-05-04T23:28:15.510Z","updated_at":"2026-03-07T13:02:45.683Z","avatar_url":"https://github.com/sapcc.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PromQuery Exporter\nSonmetimes we need to aggregate metrics from another prometheus system.\nThis exporter is built to fetch cross region info of snapmirror relationships and re-export it to Maia.\n\n# Example Config\n```\nmetrics:\n  - export_name: netapp_snapmirror_labels:maia\n    query: |\n      netapp_snapmirror_endpoint_labels:enhanced{region=\"eu-de-1\", project_id!=\"\", share_id!=\"\", share_name!=\"\"} * \n        on(source_cluster, source_vserver, source_volume, destination_cluster, destination_vserver, destination_volume) group_right(project_id, share_id, share_name) netapp_snapmirror_labels:enhanced{share_id=\"\"}\n    help: \"maia netapp snapmirror labels\"\n  - export_name: netapp_snapmirror_labels:maia\n    query: | \n      netapp_snapmirror_labels:enhanced{region=\"eu-de-1\", share_id!=\"\", destination_volume!~\"share_[0-9a-f]{8}_[0-9a-f]{4}_[0-9a-f]{4}_[0-9a-f]{4}_[0-9a-f]{12}\"}\n    help: \"maia netapp snapmirror labels\"\nlabel_rules:\n  - type: drop\n    label_name: namespace\n  - type: drop\n    label_name: pod\n  - type: drop\n    label_name: app\n  - type: drop\n    label_name: name\n  - type: drop\n    label_name: container\n  - type: drop\n    label_name: prometheus\n  - type: drop\n    label_prefix: linkerd_\n  - type: drop\n    label_prefix: kubernetes_\n  - type: drop\n    label_prefix: pod_\n  - type: fill\n    label_name: unhealthy_reason\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsapcc%2Fpromquery-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsapcc%2Fpromquery-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsapcc%2Fpromquery-exporter/lists"}