Skip to content

Commit 81722bb

Browse files
committed
Init
Signed-off-by: Örnfeldt Philip (66140321) <[email protected]>
1 parent afcfb5f commit 81722bb

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed

pkg/probe/network_dns_latency.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package probe
2+
3+
import (
4+
"log"
5+
6+
"github.com/prometheus-community/fortigate_exporter/pkg/http"
7+
"github.com/prometheus/client_golang/prometheus"
8+
)

pkg/probe/network_dns_latency_test.go

Whitespace-only changes.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# api/v2/monitor/network/dns/latency
2+
{
3+
"http_method": "GET",
4+
"results": [
5+
{
6+
"service": "dns_server",
7+
"latency": 10,
8+
"last_update": 1040,
9+
"ip": "8.8.8.8"
10+
}
11+
],
12+
"vdom": "root",
13+
"path": "network",
14+
"name": "dns",
15+
"action": "latency",
16+
"status": "success",
17+
"serial": "FTK",
18+
"version": "v7.4.8",
19+
"build": 2795
20+
}

0 commit comments

Comments
 (0)