Skip to content

Commit 543830e

Browse files
committed
docs: add httproute and gateway namespace dimensions
Address Scot's review feedback on PR #156: include httproute_name, httproute_namespace, and gateway_namespace so usage is traceable to the specific HTTPRoute that served the request and resources are distinguishable across namespaces.
1 parent 8221e3e commit 543830e

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

docs/enhancements/service-catalog-registration.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,13 +122,19 @@ cost profile that request-count billing significantly underrepresents.
122122

123123
### Dimensions
124124

125-
Each meter carries three optional dimensions for cost attribution and future
126-
pricing tiers:
125+
Each meter carries the following optional dimensions for cost attribution and
126+
future pricing tiers:
127127

128128
- `region` — Datum deployment region serving the request.
129129
- `gateway` — The `Gateway` resource name, enabling per-gateway cost drill-down.
130+
- `gateway_namespace` — Namespace of the `Gateway` resource, so gateways with
131+
the same name in different namespaces are distinguishable.
130132
- `gateway_class` — The `GatewayClass` of the underlying gateway, so different
131133
gateway classes can be priced or analyzed independently.
134+
- `httproute_name` — Name of the `HTTPRoute` that served the request, so usage
135+
is traceable back to the specific route resource.
136+
- `httproute_namespace` — Namespace of the `HTTPRoute`, completing the
137+
cross-namespace identifier alongside `httproute_name`.
132138

133139
Dimensions are declared as optional (not required) so events from proxies that
134140
cannot populate them are not rejected at the Ingestion Gateway.
@@ -237,8 +243,14 @@ spec:
237243
description: Datum deployment region serving the requests.
238244
- name: gateway
239245
description: Name of the underlying Gateway resource.
246+
- name: gateway_namespace
247+
description: Namespace of the underlying Gateway resource.
240248
- name: gateway_class
241249
description: GatewayClass of the underlying Gateway.
250+
- name: httproute_name
251+
description: Name of the HTTPRoute that served the request.
252+
- name: httproute_namespace
253+
description: Namespace of the HTTPRoute that served the request.
242254
meters:
243255
- name: networking.datumapis.com/gateway/requests
244256
displayName: HTTP Route Requests

0 commit comments

Comments
 (0)