{"id":18834470,"url":"https://github.com/fgouteroux/promk","last_synced_at":"2026-01-26T11:30:17.277Z","repository":{"id":213147412,"uuid":"733093670","full_name":"fgouteroux/promk","owner":"fgouteroux","description":"Prometheus Keepalive Agent. Send up prometheus metric with a given interval to a remote write.","archived":false,"fork":false,"pushed_at":"2024-07-22T10:34:44.000Z","size":61,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-30T07:42:18.121Z","etag":null,"topics":["prometheus","remote-write"],"latest_commit_sha":null,"homepage":"","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/fgouteroux.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2023-12-18T14:49:17.000Z","updated_at":"2024-07-22T10:33:34.000Z","dependencies_parsed_at":"2024-12-31T14:01:57.701Z","dependency_job_id":null,"html_url":"https://github.com/fgouteroux/promk","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"b4028a25552fa4d875721bbbd554650840305f89"},"previous_names":["fgouteroux/promk"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fgouteroux%2Fpromk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fgouteroux%2Fpromk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fgouteroux%2Fpromk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fgouteroux%2Fpromk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fgouteroux","download_url":"https://codeload.github.com/fgouteroux/promk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239768923,"owners_count":19693764,"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":["prometheus","remote-write"],"created_at":"2024-11-08T02:12:34.664Z","updated_at":"2026-01-26T11:30:17.244Z","avatar_url":"https://github.com/fgouteroux.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# promk\n\n## Prometheus Keepalive Agent\n\nAn agent to send `up` prometheus metric with a given interval to a remote write.\n\nWhen using the prometheus agent or grafana agent, we could received an keepalive alert for a node.\nAt this stage we don't know if it's the node or the prometheus/grafana agent which is down.\nThere is many reasons of agent failures like config, memory errors.\n\nThis tool is complementary with any other agent and aims to reduce false positive caused by an agent down.\n\n### Usage\n\n```\nusage: promk --remote-write-url=REMOTE-WRITE-URL [\u003cflags\u003e]\n\nPrometheus Keepalive Agent.\n\n\nFlags:\n  -h, --[no-]help          Show context-sensitive help (also try --help-long and --help-man).\n      --remote-write-url=REMOTE-WRITE-URL  \n                           Prometheus remote-write url ($PROMK_URL)\n      --basic-auth.username=BASIC-AUTH.USERNAME  \n                           Prometheus remote-write username ($PROMK_USERNAME)\n      --basic-auth.password=BASIC-AUTH.PASSWORD  \n                           Prometheus remote-write password ($PROMK_PASSWORD)\n      --[no-]client-tls-skip-verify  \n                           Prometheus remote-write skip TLS verify ($PROMK_SKIP_TLS_VERIFY)\n      --client-tls-cert-path=CLIENT-TLS-CERT-PATH  \n                           Prometheus remote-write client TLS certificate path ($PROMK_CLIENT_TLS_CERT_PATH)\n      --client-tls-key-path=CLIENT-TLS-KEY-PATH  \n                           Prometheus remote-write client TLS key path ($PROMK_CLIENT_TLS_KEY_PATH)\n      --client-tls-ca-path=CLIENT-TLS-CA-PATH  \n                           Prometheus remote-write client TLS ca path ($PROMK_CLIENT_TLS_CA_PATH)\n      --job-label=\"promk\"  Job label to attach.\n      --labels=LABELS ...  Add labels to the metric\n      --push-interval=30s  Time Internal to push the metric\n      --push-timeout=15s   Timeout to push the metric\n      --push-headers=PUSH-HEADERS ...  \n                           Add headers for the push request\n      --log.level=info     Only log messages with the given severity or above. One of: [debug, info, warn, error]\n      --log.format=logfmt  Output format of log messages. One of: [logfmt, json]\n      --[no-]version       Show application version.\n```\n\n## Sources\n\n- [promtool](https://prometheus.io/docs/prometheus/latest/command-line/promtool/)\n- [monitoring grafana agent](https://grafana.com/blog/2020/11/18/best-practices-for-meta-monitoring-the-grafana-agent/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffgouteroux%2Fpromk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffgouteroux%2Fpromk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffgouteroux%2Fpromk/lists"}