{"id":18445613,"url":"https://github.com/voronenko/goip_exporter","last_synced_at":"2025-04-08T00:31:38.149Z","repository":{"id":92366559,"uuid":"249013069","full_name":"Voronenko/goip_exporter","owner":"Voronenko","description":"Simple exporter for GOIP gsm device","archived":false,"fork":false,"pushed_at":"2020-08-14T09:30:25.000Z","size":37,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"develop","last_synced_at":"2024-10-29T16:22:28.393Z","etag":null,"topics":["exporter","goip","prometheus","prometheus-exporter"],"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/Voronenko.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}},"created_at":"2020-03-21T16:14:36.000Z","updated_at":"2024-10-13T14:52:39.000Z","dependencies_parsed_at":"2024-01-16T05:41:55.074Z","dependency_job_id":"a285d525-f3e4-4ff3-a930-ec061e0aa1ee","html_url":"https://github.com/Voronenko/goip_exporter","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Voronenko%2Fgoip_exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Voronenko%2Fgoip_exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Voronenko%2Fgoip_exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Voronenko%2Fgoip_exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Voronenko","download_url":"https://codeload.github.com/Voronenko/goip_exporter/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247755338,"owners_count":20990616,"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":["exporter","goip","prometheus","prometheus-exporter"],"created_at":"2024-11-06T07:06:35.053Z","updated_at":"2025-04-08T00:31:37.829Z","avatar_url":"https://github.com/Voronenko.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GOIP Prometheus exporter\n\nExporter metrics\n\n\n|Metric name   |Type   |Meaning   |\n|---|---|---|\n|goip_up|counter|1 if exporter reached GOIP instance, 0 if not|\n|goip_gsm_sim|counter|Sim card 1: detected 0: No Sim|\n|goip_gsm_status|counter|GSM Registration 1: registered 0: No|\n|goip_status_line|counter|VOIP Registration 1: registered 0: No|\n|goip_line_state|counter|GSM Line status: 1:IDLE 0: call in progress|\n|goip_acd|counter|Average call duration, seconds |\n|goip_asr|counter|Average success ratio, percent|\n|goip_callt|counter|Total call duration|\n|goip_connected_count|counter|Connected calls count|\n|goip_total_count|counter|Total call counts|\n|goip_gsm_signal|gauge| Strength of the GSM Signal  |\n|goip_nocall_t|counter|Idle time since last call, minutes|\n|goip_rct|gauge|CDR Start time|\n\n\nExample:\n\n```\n# HELP goip_acd acd counter\n# TYPE goip_acd gauge\ngoip_acd 0\n# HELP goip_asr asr counter\n# TYPE goip_asr gauge\ngoip_asr 0\n# HELP goip_callt callt counter\n# TYPE goip_callt gauge\ngoip_callt 0\n# HELP goip_gsm_signal Whether gsm_signal is active.\n# TYPE goip_gsm_signal gauge\ngoip_gsm_signal 31\n# HELP goip_gsm_sim Whether GSM is active.\n# TYPE goip_gsm_sim counter\ngoip_gsm_sim 1\n# HELP goip_gsm_status Whether GSM is active.\n# TYPE goip_gsm_status counter\ngoip_gsm_status 1\n# HELP goip_module_status_gsm Whether GSM module is active.\n# TYPE goip_module_status_gsm counter\ngoip_module_status_gsm 1\n# HELP goip_nocall_t nocall_t counter\n# TYPE goip_nocall_t gauge\ngoip_nocall_t 6921\n# HELP goip_rct rct counter\n# TYPE goip_rct gauge\ngoip_rct 1.584493736e+09\n# HELP goip_status_line Whether status_line is active.\n# TYPE goip_status_line gauge\ngoip_status_line 1\n# HELP goip_up High level exporter status\n# TYPE goip_up gauge\ngoip_up 1\n# HELP process_cpu_seconds_total Total user and system CPU time spent in seconds.\n# TYPE process_cpu_seconds_total counter\n```\n\n### dirty development notes\n\nNew dependencies to go.mod are added usually\n```\ngo get github.com/prometheus/client_golang/prometheus\ngo get github.com/prometheus/client_golang/prometheus/promauto\ngo get github.com/prometheus/client_golang/prometheus/promhttp\n```\n\nto get better code completion in jetbrains idea, one of the options would be\npointing GOROOT to your go SDK , saying to one from `gimme`, and issuing `go mod vendor`\nto get copy of the dependencies in your vendor directory.\n\nSome good notes on go exporter \n\nhttps://www.percona.com/sites/default/files/presentations/Writing%20Prometheus%20exporters.pdf\n\n\nPublishing go binaries for platforms:\n\nhttps://goreleaser.com/install/\n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoronenko%2Fgoip_exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvoronenko%2Fgoip_exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoronenko%2Fgoip_exporter/lists"}