{"id":15767197,"url":"https://github.com/lmangani/dpi-metrics-prometheus","last_synced_at":"2026-01-20T13:01:34.778Z","repository":{"id":145716379,"uuid":"159811693","full_name":"lmangani/dpi-metrics-prometheus","owner":"lmangani","description":"Peafowl DPI detections exposed at Prometheus metrics","archived":false,"fork":false,"pushed_at":"2020-08-05T15:16:48.000Z","size":28,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-05T13:21:05.017Z","etag":null,"topics":["deep-packet-inspection","detection","dpi","dpi-metrics","fastify","nodejs","packet-capture","peafowl","peafowl-dpi","prometheus-metrics"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/lmangani.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},"funding":{"github":["lmangani"]}},"created_at":"2018-11-30T11:07:28.000Z","updated_at":"2019-08-12T10:53:54.000Z","dependencies_parsed_at":"2023-05-23T20:00:42.480Z","dependency_job_id":null,"html_url":"https://github.com/lmangani/dpi-metrics-prometheus","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lmangani/dpi-metrics-prometheus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmangani%2Fdpi-metrics-prometheus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmangani%2Fdpi-metrics-prometheus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmangani%2Fdpi-metrics-prometheus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmangani%2Fdpi-metrics-prometheus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lmangani","download_url":"https://codeload.github.com/lmangani/dpi-metrics-prometheus/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmangani%2Fdpi-metrics-prometheus/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28603402,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T12:01:53.233Z","status":"ssl_error","status_checked_at":"2026-01-20T12:01:46.545Z","response_time":117,"last_error":"SSL_read: 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":["deep-packet-inspection","detection","dpi","dpi-metrics","fastify","nodejs","packet-capture","peafowl","peafowl-dpi","prometheus-metrics"],"created_at":"2024-10-04T13:21:05.996Z","updated_at":"2026-01-20T13:01:34.750Z","avatar_url":"https://github.com/lmangani.png","language":"JavaScript","funding_links":["https://github.com/sponsors/lmangani"],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://i.imgur.com/jrQX0Of.gif\" width=250\u003e\n\n# PeaFowl DPI Metrics for Prometheus\nSample NodeJS application exposing [Peafowl DPI](http://github.com/libpeafowl) detections as Prometheus metrics endpoint\n\n## Configuration\nEdit the details in `config.js` to configure the parameters\n```json\n{\n\t\"port\": 3000,\n\t\"host\": \"0.0.0.0\",\n\t\"endpoint\": \"/metrics\",\n\t\"interface\":\"eth0\",\n\t\"bpf\":\"\"\n};\n```\n\n### Example Output\n```\n# HELP dpi_gauge DPI Protocol Detections\n# TYPE dpi_gauge gauge\ndpi_gauge{L7=\"Unknown\"} 9\ndpi_gauge{L7=\"SIP\"} 4\ndpi_gauge{L7=\"SSH\"} 18\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmangani%2Fdpi-metrics-prometheus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flmangani%2Fdpi-metrics-prometheus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmangani%2Fdpi-metrics-prometheus/lists"}