Skip to main content

Introduction

Access DaFT via your browser, scraper, or any HTTP client using the following pattern:

http://<YOUR_HOST>/<identifier>

The output format is determined by the endpoint you use:

  • Default: JSON format (ideal for general use or integration with Telegraf).
  • Prometheus/OpenMetrics:
    http://<YOUR_HOST>/<identifier>/prometheus
    

JSON Format

Retrieve data in standard JSON format:

http://<YOUR_HOST>/<identifier>

JSON Format for Telegraf

Specifically optimised for Telegraf ingestion:

http://<YOUR_HOST>/<identifier>/telegraf

Prometheus/OpenMetrics Format

For Prometheus or other systems supporting the OpenMetrics standard:

http://<YOUR_HOST>/<identifier>/prometheus