Documentation | Flowtriq DDoS Detection API & Agent Setup
Detection, Mitigation & Response

Detect and mitigate DDoS attacks in under 1 second, respond automatically, and keep your users informed.

All features →
Learn
Documentation Quick Start API Reference Agent Setup DDoS Protection Landscape State of DDoS 2026 REPORT Free Certifications NEW
Research & Guides
Mirai Botnet Kill Switch Research memcached Amplification Dynamic Baselines PCAP Forensics PagerDuty Setup
Company
About Us Partners Whitelabel / Reseller Affiliate Program Pay with Crypto System Status
Legal & Support
Contact Us Terms Privacy SLA
Who Uses Flowtriq

From indie hosts to ISPs, see how teams like yours use Flowtriq to detect and stop DDoS attacks.

Talk to Us →
Infrastructure
Hosting Providers ISPs MSPs/MSSPs Small Operators Routers Edge Node Defense
Gaming
Game Server Hosting Game Studios
Business
SaaS Platforms E-Commerce Financial Services Compliance NEW

Prometheus Metrics & Grafana Dashboard

Export real-time metrics to your monitoring stack

Prometheus Endpoint

Flowtriq exposes a /api/metrics endpoint in standard Prometheus exposition format. Point your Prometheus scraper at it to pull DDoS detection and traffic metrics into your existing monitoring stack.

Authentication

Authenticate with either a Bearer token or query parameter:

# Bearer token (preferred) curl -H "Authorization: Bearer YOUR_API_KEY" https://flowtriq.com/api/metrics # Query parameter curl https://flowtriq.com/api/metrics?token=YOUR_API_KEY

Available Metrics

MetricTypeDescription
flowtriq_nodes_totalgaugeTotal active nodes in workspace
flowtriq_nodes_onlinegaugeNodes currently online
flowtriq_nodes_under_attackgaugeNodes currently under attack
flowtriq_nodes_offlinegaugeNodes currently offline
flowtriq_node_ppsgaugeCurrent PPS per node (labels: node, ip)
flowtriq_node_bpsgaugeCurrent BPS per node
flowtriq_node_tcp_pctgaugeTCP traffic percentage per node
flowtriq_node_udp_pctgaugeUDP traffic percentage per node
flowtriq_node_icmp_pctgaugeICMP traffic percentage per node
flowtriq_node_connectionsgaugeActive connection count per node
flowtriq_node_baseline_avg_ppsgaugeBaseline average PPS per node
flowtriq_node_baseline_p95_ppsgaugeBaseline 95th percentile PPS per node
flowtriq_node_baseline_p99_ppsgaugeBaseline 99th percentile PPS per node
flowtriq_incidents_activegaugeCurrently active incidents
flowtriq_incidents_last_24hgaugeIncidents in the last 24 hours
flowtriq_mitigation_active_rulesgaugeActive BGP mitigation rules
flowtriq_mitigation_pending_rulesgaugePending mitigation rules
flowtriq_mitigation_failed_rulesgaugeFailed mitigation rules
flowtriq_mitigation_adapter_healthygaugeAdapter health (1=healthy, 0=down, labels: adapter, type)

Prometheus Scrape Config

# prometheus.yml scrape_configs: - job_name: 'flowtriq' scheme: https bearer_token: 'YOUR_API_KEY' static_configs: - targets: ['flowtriq.com'] metrics_path: '/api/metrics' scrape_interval: 30s

Pre-Built Grafana Dashboard

Import our pre-built dashboard JSON for instant visualization of all Flowtriq metrics. Download it from:

https://flowtriq.com/assets/grafana-dashboard.json

Panels Included

  • Node Overview: Total nodes, online, under attack, offline, active incidents, 24h incidents
  • Traffic Volume: PPS and BPS over time per node with mean/max/current stats
  • Protocol Distribution: TCP/UDP/ICMP percentage stacked chart
  • Active Connections: Connection count over time per node
  • Top Talkers: Top 10 nodes by PPS and BPS (table view)
  • PPS vs Baseline: Current PPS overlaid with baseline avg, P95, and P99
  • Mitigation Rules: Active, pending, failed, and withdrawn rules over time
  • BGP Adapter Health: LCD bar gauge showing healthy/down status per adapter
  • Attack Timeline: Active incidents, nodes under attack, and mitigation rules as a combined timeline

The dashboard uses Grafana variable templating for tenant_id and node filtering, so it works across multi-node deployments.

Import Steps

  1. In Grafana, go to Dashboards → Import
  2. Paste the JSON from the URL above or upload the file
  3. Select your Prometheus data source when prompted
  4. Click Import