Summary
Network Services needs to be registered in the Datum Cloud service catalog so it can be discovered, enabled, and billed through the platform. This covers three pieces of work:
-
Service registration — create the Service resource that makes Network Services visible in the catalog with a display name, description, and published phase.
-
Metering configuration — create the ServiceConfiguration resource that defines what gets measured and billed. For an edge proxy, the most important signals to capture are:
- Request count — number of requests proxied, the primary unit of consumption
- Bytes transferred — total response bytes sent to clients (egress)
- Bytes received — total request bytes received from clients (ingress)
- Active connection seconds — time connections are held open, useful for persistent/long-lived connections
-
Usage pipeline integration — investigate how to extract the above signals from the proxy and feed them into the billing pipeline. This includes:
- How to collect usage data from the proxy (e.g. access logs, stats endpoint, gRPC metrics sink)
- How to transform and emit that data as usage events in the CloudEvents format expected by the billing pipeline
- Any buffering, batching, or reliability considerations for getting events from the data plane to the pipeline
Both the Service and ServiceConfiguration resources should be packaged as a Kustomize component (following the pattern established in the compute service) so they can be applied consistently across environments.
Acceptance criteria
Summary
Network Services needs to be registered in the Datum Cloud service catalog so it can be discovered, enabled, and billed through the platform. This covers three pieces of work:
Service registration — create the
Serviceresource that makes Network Services visible in the catalog with a display name, description, and published phase.Metering configuration — create the
ServiceConfigurationresource that defines what gets measured and billed. For an edge proxy, the most important signals to capture are:Usage pipeline integration — investigate how to extract the above signals from the proxy and feed them into the billing pipeline. This includes:
Both the
ServiceandServiceConfigurationresources should be packaged as a Kustomize component (following the pattern established in the compute service) so they can be applied consistently across environments.Acceptance criteria
service-catalogKustomize component underconfig/components/