awslabs / aws-servicebroker

AWS Service Broker
Apache License 2.0
468 stars 131 forks source link

Publish metrics on provisioning and binding #219

Closed tealeg closed 3 years ago

tealeg commented 3 years ago

Is your feature request related to a problem? Please describe. We'd like to track the utilisation of services and plans provided by the AWS ServiceBroker via our Prometheus and Grafana infrastructure.

Describe the solution you'd like It would be convenient for the service broker to expose a /metrics endpoint and to provide counts of each service and plan provisioned, and deprovisioned, and of the bind/unbind requests too.

Describe alternatives you've considered We could simply query the dynamodb database for information, or ask our cloud foundry instance about the current state, but it is more "fitting" to have promotheus scape data from the broker itself.

Additional context The real point of raising this issue is not to request work (I'll probably be implementing this for my company whatever the outcomes) but to see if there would be interest in us pushing that code back to the upstream project.

tealeg commented 3 years ago

Oh. .I've just seen there's something there already.