Skip to main content

PyPI - Version Docker Image Version

Overkiz Exporter

A simple open metrics exporter for metrics yielded from overkiz api.

Metrics served

  • daemon: Will serve various metrics about the exporter itself.
  • overkiz_measurable: Will export any float or integer value returned by the overkiz API and tag it with the device specifics.
  • overkiz_label: Will export any string values returned by the overkiz API. The string value will be placed in the label label and the value set to 1.

Note:

  • the daemon metric name is configurable through by editing daemon.metricname
  • the daemon name label is configurable by editing daemon.namelabel

Used labels

Label Available on Comment
status daemon Any value, describe the runtime status of the exporter
name daemon The value set in the configuration under the daemon.namelabel key
device_id overkiz_measurable, overkiz_label The device id of the current metric
device_label overkiz_measurable, overkiz_label The device name, may be customized
metric_namespace overkiz_measurable, overkiz_label The metric namespace, extracted from the API name (example: core, modbuslink)
metric_name overkiz_measurable, overkiz_label The metric name, extracted from the API name (example: NameState, NumberOfTankState)
label overkiz_measurable The value outputed by the API (example: Heating, `off)

Example configuration

{
    "credentials": [
        {
            "username": "<login to your atlantic account>",
            "password": "<password to your atlantic account>",
            "servertype": "ATLANTIC_COZYTOUCH"
        }
    ]
}

Running it

For the next few bits of code, we'll suppose you have a working configuration above in ~/.config/overkiz.json.

... with python:

pip install overkiz-exporter
python -m overkiz_exporter

... with docker:

 docker run -v ~/.config/:/etc/overkiz/:ro -p 9100:9100 overkiz-exporter:main

You'll then be able retrieve some values:

curl localhost:9100/metrics

# HELP daemon
# TYPE daemon gauge
daemon{name="overkiz-exporter",section="config",status="loop_interval"} 60.0
daemon{name="overkiz-exporter",section="config",status="items-count"} 1.0
daemon{name="overkiz-exporter",section="exec",status="items-ok"} 1.0
daemon{name="overkiz-exporter",section="exec",status="items-ko"} 0.0
[...]

Metadata

Release files for overkiz-exporter 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for overkiz-exporter 1.2.0
File Size Uploaded Provenance
overkiz_exporter-1.2.0.tar.gz 3.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for overkiz-exporter 1.2.0
File Interpreter ABI Platform
overkiz_exporter-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.6 kB

Release files / overkiz_exporter-1.2.0.tar.gz

Download URL overkiz_exporter-1.2.0.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a28f6021aba631d5c1c7829d8daf5e80333eab6de2275efc84ca3ceaf2033ee5
BLAKE2b-256 checksum
How to use checksums
aa66f2bac97cbb8d6d19f975d882d3296d43064084e078c9802538d960671704
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.1 CPython/3.13.3 Linux/6.14.0-22-generic

Release files / overkiz_exporter-1.2.0-py3-none-any.whl

Download URL overkiz_exporter-1.2.0-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a953338b092fab6c64f87e0dafd09f5dec1f2b6a4dfa8576ade81da1ec9992c3
BLAKE2b-256 checksum
How to use checksums
56485d3a2ecd204b919c25d6b4c00a19c4b0981926833c6c13b0078bbc2d6646
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.1 CPython/3.13.3 Linux/6.14.0-22-generic

Security for overkiz-exporter 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page