{"id":42646234,"url":"https://github.com/florentchauveau/freeswitch_exporter","last_synced_at":"2026-01-29T06:41:01.850Z","repository":{"id":57624679,"uuid":"398795051","full_name":"florentchauveau/freeswitch_exporter","owner":"florentchauveau","description":"Prometheus exporter for FreeSWITCH","archived":false,"fork":false,"pushed_at":"2022-05-25T09:44:54.000Z","size":35,"stargazers_count":28,"open_issues_count":3,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-14T21:12:16.683Z","etag":null,"topics":["freeswitch","metrics","monitoring","prometheus","prometheus-exporter"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/florentchauveau.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}},"created_at":"2021-08-22T12:31:41.000Z","updated_at":"2024-10-18T09:03:01.000Z","dependencies_parsed_at":"2022-08-26T22:22:07.322Z","dependency_job_id":null,"html_url":"https://github.com/florentchauveau/freeswitch_exporter","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/florentchauveau/freeswitch_exporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florentchauveau%2Ffreeswitch_exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florentchauveau%2Ffreeswitch_exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florentchauveau%2Ffreeswitch_exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florentchauveau%2Ffreeswitch_exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/florentchauveau","download_url":"https://codeload.github.com/florentchauveau/freeswitch_exporter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florentchauveau%2Ffreeswitch_exporter/sbom","scorecard":{"id":403889,"data":{"date":"2025-08-11","repo":{"name":"github.com/florentchauveau/freeswitch_exporter","commit":"48e4185faef7946c083e1e35e4e7e41e36be8199"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Code-Review","score":0,"reason":"Found 0/16 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/florentchauveau/freeswitch_exporter/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/florentchauveau/freeswitch_exporter/build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/florentchauveau/freeswitch_exporter/build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/florentchauveau/freeswitch_exporter/build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/florentchauveau/freeswitch_exporter/build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/florentchauveau/freeswitch_exporter/build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:56: update your workflow using https://app.stepsecurity.io/secureworkflow/florentchauveau/freeswitch_exporter/build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:62: update your workflow using https://app.stepsecurity.io/secureworkflow/florentchauveau/freeswitch_exporter/build.yml/master?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:2","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   6 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.0.2 not signed: https://api.github.com/repos/florentchauveau/freeswitch_exporter/releases/67780357","Warn: release artifact v1.0.1 not signed: https://api.github.com/repos/florentchauveau/freeswitch_exporter/releases/48245072","Warn: release artifact v1.0.0 not signed: https://api.github.com/repos/florentchauveau/freeswitch_exporter/releases/48244484","Warn: release artifact v1.0.2 does not have provenance: https://api.github.com/repos/florentchauveau/freeswitch_exporter/releases/67780357","Warn: release artifact v1.0.1 does not have provenance: https://api.github.com/repos/florentchauveau/freeswitch_exporter/releases/48245072","Warn: release artifact v1.0.0 does not have provenance: https://api.github.com/repos/florentchauveau/freeswitch_exporter/releases/48244484"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2024-2611 / GHSA-8r3f-844c-mc37"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T20:43:14.297Z","repository_id":57624679,"created_at":"2025-08-18T20:43:14.303Z","updated_at":"2025-08-18T20:43:14.303Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28867124,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T05:56:06.453Z","status":"ssl_error","status_checked_at":"2026-01-29T05:55:57.668Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["freeswitch","metrics","monitoring","prometheus","prometheus-exporter"],"created_at":"2026-01-29T06:41:01.255Z","updated_at":"2026-01-29T06:41:01.833Z","avatar_url":"https://github.com/florentchauveau.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FreeSWITCH Exporter for Prometheus\n![CI](https://github.com/florentchauveau/freeswitch_exporter/actions/workflows/build.yml/badge.svg)\n[![Go Report Card](https://goreportcard.com/badge/github.com/florentchauveau/freeswitch_exporter)](https://goreportcard.com/report/github.com/florentchauveau/freeswitch_exporter)\n[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/florentchauveau/freeswitch_exporter/blob/master/LICENSE)\n\nA [FreeSWITCH](https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+Explained) exporter for Prometheus.\n\nIt communicates with FreeSWITCH using [mod_event_socket](https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket).\n\n## Getting Started\n\nPre-built static binaries are available in [releases](https://github.com/florentchauveau/freeswitch_exporter/releases).\n\nDocker images are also available on [DockerHub](https://hub.docker.com/r/florentchauveau/freeswitch_exporter).\n\n\n\nTo run it:\n```bash\n./freeswitch_exporter [flags]\n```\n\nDocker run:\n```bash\ndocker run --rm -it florentchauveau/freeswitch_exporter:latest --help\n```\n\nHelp on flags:\n```\n./freeswitch_exporter --help\n\nFlags:\n      --help                   Show context-sensitive help (also try --help-long and --help-man).\n  -l, --web.listen-address=\":9282\"  \n                               Address to listen on for web interface and telemetry.\n      --web.telemetry-path=\"/metrics\"  \n                               Path under which to expose metrics.\n  -u, --freeswitch.scrape-uri=\"tcp://localhost:8021\"  \n                               URI on which to scrape freeswitch. E.g. \"tcp://localhost:8021\"\n  -t, --freeswitch.timeout=5s  Timeout for trying to get stats from freeswitch.\n  -P, --freeswitch.password=\"ClueCon\"  \n                               Password for freeswitch event socket.\n```\n\n## Usage\n\nMake sure [mod_event_socket](https://freeswitch.org/confluence/display/FREESWITCH/mod_event_socket) is enabled on your FreeSWITCH instance. The default mod_event_socket configuration binds to `::` (i.e., to listen to connections from any host), which will work on IPv4 or IPv6. \n\nYou can specify the scrape URI with the `--freeswitch.scrape-uri` flag. Example:\n\n```\n./freeswitch_exporter -u \"tcp://localhost:5049\"\n```\n\nAlso, you need to make sure that the exporter will be allowed by the ACL (if any), and that the password matches.\n\n## Metrics\n\nThe exporter will try to fetch values from the following commands:\n\n- `api show calls count`: Calls count\n- `api uptime s`: Uptime\n- `api strepoch`: Time synced with system\n- `status`\n\nList of exposed metrics:\n\n```bash\n# HELP freeswitch_current_calls Number of calls active\n# TYPE freeswitch_current_calls gauge\n# HELP freeswitch_current_idle_cpu CPU idle\n# TYPE freeswitch_current_idle_cpu gauge\n# HELP freeswitch_current_sessions Number of sessions active\n# TYPE freeswitch_current_sessions gauge\n# HELP freeswitch_current_sessions_peak Peak sessions since startup\n# TYPE freeswitch_current_sessions_peak gauge\n# HELP freeswitch_current_sessions_peak_last_5min Peak sessions for the last 5 minutes\n# TYPE freeswitch_current_sessions_peak_last_5min gauge\n# HELP freeswitch_current_sps Number of sessions per second\n# TYPE freeswitch_current_sps gauge\n# HELP freeswitch_current_sps_peak Peak sessions per second since startup\n# TYPE freeswitch_current_sps_peak gauge\n# HELP freeswitch_current_sps_peak_last_5min Peak sessions per second for the last 5 minutes\n# TYPE freeswitch_current_sps_peak_last_5min gauge\n# HELP freeswitch_exporter_failed_scrapes Number of failed freeswitch scrapes.\n# TYPE freeswitch_exporter_failed_scrapes counter\n# HELP freeswitch_exporter_total_scrapes Current total freeswitch scrapes.\n# TYPE freeswitch_exporter_total_scrapes counter\n# HELP freeswitch_max_sessions Max sessions allowed\n# TYPE freeswitch_max_sessions gauge\n# HELP freeswitch_max_sps Max sessions per second allowed\n# TYPE freeswitch_max_sps gauge\n# HELP freeswitch_min_idle_cpu Minimum CPU idle\n# TYPE freeswitch_min_idle_cpu gauge\n# HELP freeswitch_sessions_total Number of sessions since startup\n# TYPE freeswitch_sessions_total counter\n# HELP freeswitch_time_synced Is FreeSWITCH time in sync with exporter host time\n# TYPE freeswitch_time_synced gauge\n# HELP freeswitch_up Was the last scrape successful.\n# TYPE freeswitch_up gauge\n# HELP freeswitch_uptime_seconds Uptime in seconds\n# TYPE freeswitch_uptime_seconds gauge\n```\n\n## Compiling\n\nWith go1.18+, clone the project and:\n\n```bash\ngo build\n```\n\nDependencies will be fetched automatically.\n\n## Contributing\n\nFeel free to send pull requests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflorentchauveau%2Ffreeswitch_exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflorentchauveau%2Ffreeswitch_exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflorentchauveau%2Ffreeswitch_exporter/lists"}