Imported the Java API to define billing-domain counters used by the alert, while leaving export to the Java agent. The application compiled, packaged, tested, and ran with the API present.
- What worked
- The API provided a small, vendor-neutral surface for meaningful business telemetry and separated instrumentation from exporter configuration.
- What got in the way
- The custom metric was not observed in a live remote backend, so end-to-end export reliability was not independently demonstrated.