{"id":13582343,"url":"https://github.com/riptl/netdata-influx","last_synced_at":"2025-04-06T14:30:49.155Z","repository":{"id":35622445,"uuid":"211198772","full_name":"riptl/netdata-influx","owner":"riptl","description":"Netdata ➡️ InfluxDB metrics exporter \u0026 Grafana dashboard","archived":true,"fork":false,"pushed_at":"2023-07-30T16:28:48.000Z","size":454,"stargazers_count":32,"open_issues_count":2,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-02T07:06:09.639Z","etag":null,"topics":["docker","docker-compose","grafana","grafana-dashboard","grafana-influxdb","influxdb","influxdb-grafana-docker","monitoring","netdata"],"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/riptl.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}},"created_at":"2019-09-26T23:38:15.000Z","updated_at":"2024-05-23T17:16:52.000Z","dependencies_parsed_at":"2024-01-30T03:10:19.412Z","dependency_job_id":"886f0b4d-4602-462e-a33d-ece30cc24fc6","html_url":"https://github.com/riptl/netdata-influx","commit_stats":null,"previous_names":["riptl/netdata-influx","terorie/netdata-influx"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riptl%2Fnetdata-influx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riptl%2Fnetdata-influx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riptl%2Fnetdata-influx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riptl%2Fnetdata-influx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/riptl","download_url":"https://codeload.github.com/riptl/netdata-influx/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247495702,"owners_count":20948098,"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":["docker","docker-compose","grafana","grafana-dashboard","grafana-influxdb","influxdb","influxdb-grafana-docker","monitoring","netdata"],"created_at":"2024-08-01T15:02:37.312Z","updated_at":"2025-04-06T14:30:48.864Z","avatar_url":"https://github.com/riptl.png","language":"Go","readme":"# Netdata to InfluxDB exporter\n\n * GitHub: https://github.com/terorie/netdata-influx\n * Grafana: https://grafana.com/grafana/dashboards/10922\n * Zero-config, no need to modify netdata settings\n * Uses the Netdata V1 API to pull data (`dashboard_url + '/api'`)\n * Periodically writes data to InfluxDB\n\n### Showcase\n\n#### [Demo Page](https://the-eye.terorie.dev/d/SwC1MrpWz/netdata-monitoring)\n\n![Screenshot](https://grafana.com/api/dashboards/10922/images/6902/image)\n\n### Quickstart\n\nInstall InfluxDB, Netdata and Grafana using [Docker Compose](https://docs.docker.com/compose/install/) in under a minute!\n\n**GitHub Container Registry**\n\nA pre-built lightweight Docker image is available here: \n\n[`ghcr.io/terorie/netdata-influx`](https://github.com/terorie/netdata-influx/pkgs/container/netdata-influx)\n\n**Console:**\n\n```sh\n# Create workspace\nmkdir netdata; cd netdata\n\n# Get docker-compose config\nwget https://raw.githubusercontent.com/terorie/netdata-influx/master/quickstart/docker-compose.yml\n\n# Start services\ndocker-compose up -d\n\n# Create netdata database\ncurl -i -XPOST http://localhost:8086/query --data-urlencode \"q=CREATE DATABASE netdata\"\n```\n\n**Grafana:**\n\n - Visit `http://\u003cyour_ip\u003e:3000`\n - Login with `admin:admin`\n - Add InfluxDB datasource\n    - URL: `http://influxdb:8086`, or with auth `http://user:pass@influxdb:8086`\n    - Details \u003e Database: `netdata`\n - Import dashboard with ID `10922` [(help)](https://grafana.com/docs/reference/export_import/)\n\n### Exporter Configuration\n\nTo change settings or add more charts, use these config variables\n\n| var | meaning | default |\n| --- | ------- | ------- |\n| `$NI_LOG_TIMESTAMPS` | Include timestamps in log | `\"true\"` |\n| `$NI_INFLUX_ADDR` | Influx URL | — |\n| `$NI_INFLUX_DB` | Influx database | — |\n| `$NI_REFRESH_RATE` | Netdata polling rate | `\"10s\"` |\n| `$NI_NETDATA` | Netdata API URL | — |\n| `$NI_HOST_TAG` | Influx host tag (recommended) | `$NI_NETDATA` |\n| `$NI_CHARTS` | Space-separated list of charts to monitor | `system.cpu system.net system.pgpgio`\n| `$NI_POINTS` | Number of points to fetch (0 for all) | `0` |\n","funding_links":[],"categories":["Go"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Friptl%2Fnetdata-influx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Friptl%2Fnetdata-influx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Friptl%2Fnetdata-influx/lists"}