-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathservices_v1alpha1_serviceconfiguration_dns.yaml
More file actions
65 lines (64 loc) · 2.28 KB
/
Copy pathservices_v1alpha1_serviceconfiguration_dns.yaml
File metadata and controls
65 lines (64 loc) · 2.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# SPDX-License-Identifier: AGPL-3.0-only
# DNS metering. The services-operator fans this out into billing
# MeterDefinition/MonitoredResourceType objects; don't author those directly.
apiVersion: services.miloapis.com/v1alpha1
kind: ServiceConfiguration
metadata:
labels:
app.kubernetes.io/name: dns-operator
app.kubernetes.io/managed-by: kustomize
name: dns-networking-miloapis-com
spec:
serviceRef:
name: dns-networking-miloapis-com
phase: Published
version: v1
monitoredResourceTypes:
- type: dns.networking.miloapis.com/DNSZone
displayName: DNS Zone
description: |
An authoritative DNS zone, billed on per-zone footprint (zones),
authoritative query volume (zone/queries), and total record inventory
(records/active via Status.RecordCount).
gvk:
group: dns.networking.miloapis.com
kind: DNSZone
labels:
- name: location
description: Datum point-of-presence / region serving the zone or query.
- name: rcode
description: DNS response code for answered queries (NOERROR, NXDOMAIN, SERVFAIL).
- name: record_type
description: Queried record type (A, AAAA, CNAME, TXT, MX, ...).
metrics:
- name: dns.networking.miloapis.com/zone/queries
displayName: DNS Queries
description: Authoritative queries answered for a zone (primary consumption signal).
kind: Delta
unit: "{query}"
dimensions:
- rcode
- record_type
- location
- name: dns.networking.miloapis.com/zones
displayName: Hosted DNS Zones
description: Active hosted-zone footprint (gauge, 1 per active DNSZone).
kind: Gauge
unit: "{zone}"
dimensions:
- location
- name: dns.networking.miloapis.com/records/active
displayName: Active DNS Records
description: Individual DNS records under management (gauge, counted across all record sets).
kind: Gauge
unit: "{record}"
dimensions:
- record_type
- location
billing:
consumerDestinations:
- monitoredResourceType: dns.networking.miloapis.com/DNSZone
metrics:
- dns.networking.miloapis.com/zone/queries
- dns.networking.miloapis.com/zones
- dns.networking.miloapis.com/records/active