{"id":20699906,"url":"https://github.com/mrmarble/datadis-telegraf-plugin","last_synced_at":"2025-10-05T00:41:35.892Z","repository":{"id":45239954,"uuid":"442548029","full_name":"MrMarble/datadis-telegraf-plugin","owner":"MrMarble","description":"Datadis telegraf plugin","archived":false,"fork":false,"pushed_at":"2023-03-07T00:14:12.000Z","size":502,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-17T19:14:50.061Z","etag":null,"topics":["datadis","telegraf","telegraf-plugin"],"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/MrMarble.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}},"created_at":"2021-12-28T18:17:43.000Z","updated_at":"2023-06-30T05:37:20.000Z","dependencies_parsed_at":"2024-06-20T22:07:51.737Z","dependency_job_id":null,"html_url":"https://github.com/MrMarble/datadis-telegraf-plugin","commit_stats":{"total_commits":14,"total_committers":1,"mean_commits":14.0,"dds":0.0,"last_synced_commit":"6198bc684686f5079dfb1535d2bc3237ebd5cc8c"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrMarble%2Fdatadis-telegraf-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrMarble%2Fdatadis-telegraf-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrMarble%2Fdatadis-telegraf-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrMarble%2Fdatadis-telegraf-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MrMarble","download_url":"https://codeload.github.com/MrMarble/datadis-telegraf-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242967694,"owners_count":20214280,"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":["datadis","telegraf","telegraf-plugin"],"created_at":"2024-11-17T00:32:44.656Z","updated_at":"2025-10-05T00:41:35.802Z","avatar_url":"https://github.com/MrMarble.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Datadis Telegraf Plugin\n\n[![golangci-lint](https://github.com/MrMarble/datadis-telegraf-plugin/actions/workflows/lint.yml/badge.svg)](https://github.com/MrMarble/datadis-telegraf-plugin/actions/workflows/lint.yml)\n\nGather Spanish energy consumption from https://datadis.es.\n\n## Configuration\n\n```toml\n[[inputs.Datadis]]\n    ## Datadis username. Required.\n    username = \"\"\n    ## Datadis password. Required.\n    password = \"\"\n\n    ## HTTP Request timeout.\n    http_timeout = \"1m\"\n\n    ## Measurement type.\n    ##  0 (Zero) =\u003e hourly consumption.\n    ##  1 (One) =\u003e quarter hourly consumption.\n    measurement_type = 0\n\n    ## Date range.\n    ##  Use for static dates\n    ##  If omitted will use date_duration\n    ##  Format =\u003e 2021/01/26\n    start_date = \"\"\n    end_date = \"\"\n    ## Duration.\n    ##  Use for dynamic dates\n    date_duration = \"168h\"\n\n    ## Supplies\n    ## Skip fetching supplies\n    ## [[inputs.Datadis.supplies]]\n    ##     cups = \"\"\n    ##     point_type = 5\n    ##     distributor_code = \"2\"\n\n```\n\n## Metrics\n\n- Datadis\n    - tags:\n        - cups (string)\n        - obtain_method (string)\n    - fields:\n        - kwh (float64)\n\n## Example Output\n\n```\nDatadis,cups=ES0099999999999999AAAA,obtain_method=Real kwh=0.368 1640782800000000000\nDatadis,cups=ES0099999999999999AAAA,obtain_method=Real kwh=0.745 1640786400000000000\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrmarble%2Fdatadis-telegraf-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrmarble%2Fdatadis-telegraf-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrmarble%2Fdatadis-telegraf-plugin/lists"}