|
| 1 | +apiVersion: services.miloapis.com/v1alpha1 |
| 2 | +kind: ServiceConfiguration |
| 3 | +metadata: |
| 4 | + name: networking-datumapis-com |
| 5 | +spec: |
| 6 | + phase: Published |
| 7 | + serviceRef: |
| 8 | + name: networking-datumapis-com |
| 9 | + monitoredResourceTypes: |
| 10 | + - type: networking.datumapis.com/HTTPRoute |
| 11 | + displayName: HTTP Route |
| 12 | + description: | |
| 13 | + A customer-defined HTTP routing configuration attached to a managed |
| 14 | + Gateway. One HTTPRoute represents a single HTTP service surface on |
| 15 | + the Datum Cloud edge. Usage events cover proxied request count, |
| 16 | + egress bytes, ingress bytes, and active connection seconds. |
| 17 | + gvk: |
| 18 | + group: gateway.networking.k8s.io |
| 19 | + kind: HTTPRoute |
| 20 | + labels: |
| 21 | + - name: region |
| 22 | + description: Datum deployment region serving the requests. |
| 23 | + - name: gateway |
| 24 | + description: Name of the underlying Gateway resource. |
| 25 | + - name: gateway_namespace |
| 26 | + description: Namespace of the underlying Gateway resource. |
| 27 | + - name: gateway_class |
| 28 | + description: GatewayClass of the underlying Gateway. |
| 29 | + - name: httproute_name |
| 30 | + description: Name of the HTTPRoute that served the request. |
| 31 | + - name: httproute_namespace |
| 32 | + description: Namespace of the HTTPRoute that served the request. |
| 33 | + - name: project_name |
| 34 | + description: Name of the project serving the request. |
| 35 | + metrics: |
| 36 | + - name: networking.datumapis.com/gateway/requests |
| 37 | + displayName: HTTP Route Requests |
| 38 | + description: HTTP requests proxied through the route. |
| 39 | + kind: Delta |
| 40 | + unit: "{request}" |
| 41 | + dimensions: |
| 42 | + - region |
| 43 | + - gateway |
| 44 | + - gateway_namespace |
| 45 | + - gateway_class |
| 46 | + - httproute_name |
| 47 | + - httproute_namespace |
| 48 | + - project_name |
| 49 | + - name: networking.datumapis.com/gateway/egress-bytes |
| 50 | + displayName: HTTP Route Egress Bytes |
| 51 | + description: Bytes sent downstream by the route. |
| 52 | + kind: Delta |
| 53 | + unit: By |
| 54 | + dimensions: |
| 55 | + - region |
| 56 | + - gateway |
| 57 | + - gateway_namespace |
| 58 | + - gateway_class |
| 59 | + - httproute_name |
| 60 | + - httproute_namespace |
| 61 | + - project_name |
| 62 | + - name: networking.datumapis.com/gateway/ingress-bytes |
| 63 | + displayName: HTTP Route Ingress Bytes |
| 64 | + description: Bytes received from clients by the route. |
| 65 | + kind: Delta |
| 66 | + unit: By |
| 67 | + dimensions: |
| 68 | + - region |
| 69 | + - gateway |
| 70 | + - gateway_namespace |
| 71 | + - gateway_class |
| 72 | + - httproute_name |
| 73 | + - httproute_namespace |
| 74 | + - project_name |
| 75 | + - name: networking.datumapis.com/gateway/connection-seconds |
| 76 | + displayName: HTTP Route Connection Seconds |
| 77 | + description: Seconds long-lived connections (e.g. WebSocket) are held open. |
| 78 | + kind: Delta |
| 79 | + unit: s |
| 80 | + dimensions: |
| 81 | + - region |
| 82 | + - gateway |
| 83 | + - gateway_namespace |
| 84 | + - gateway_class |
| 85 | + - httproute_name |
| 86 | + - httproute_namespace |
| 87 | + - project_name |
| 88 | + billing: |
| 89 | + consumerDestinations: |
| 90 | + - monitoredResourceType: networking.datumapis.com/HTTPRoute |
| 91 | + metrics: |
| 92 | + - networking.datumapis.com/gateway/requests |
| 93 | + - networking.datumapis.com/gateway/egress-bytes |
| 94 | + - networking.datumapis.com/gateway/ingress-bytes |
| 95 | + - networking.datumapis.com/gateway/connection-seconds |
0 commit comments