The service-metrics SDK allows service authors to integrate with Loggregator, the Cloud Foundry logging and metrics system, using a colocatable BOSH release.

How do Service Metrics Work?

Service metrics are colocated with the service job. The service job runs as a daemon process and executes a metrics generation command at regular intervals. The service author generally provides a binary for that purpose. In this case, the metrics generation command invokes the binary.

Service metrics receives the output of the metrics generation command and performs validation on the format.

If validation succeeds, Service metrics sends the metrics to the Metron agent deployed on the VM. Metron forwards metrics to Doppler. In turn, Doppler can send the metrics to a third-party app such as Papertrail or to the Loggregator Traffic Controller.

What's in the Service Metrics Docs

The documentation for service-metrics SDK provides information about how to integrate and deploy Service Metrics SDK for VMware Tanzu.


Introduces the Service Metrics SDK for VMware Tanzu and explains Service Metrics work.

Release Notes

Information about new features, breaking changes, and resolved issues.

Integrating a Service with Service Metrics

Describes how to integrate a service with Service Metrics.

Deploying a Release with Service Metrics

Describes how to deploy a release with Service Metrics.