This release is deprecated and we do not recomend using it. Instead please expose a prometheus metrics exposition endpoint and use prom scraper to scrape that endpoint.
Sevice Metrics is a framework for easily sending metrics to Cloud Foundry's Loggregator system.
If you have any questions, or want to get attention for a PR or issue please reach out on the #logging-and-metrics channel in the cloudfoundry slack
User documentation can be found here. Documentation is targeted at service authors wishing to send metrics from their service and operators wanting to configure service metrics.
Service Metrics releases artifacts can be found on bosh.io. Service Metrics 1.5.6+ are licensed under Apache 2.0.
cd src/
./scripts/run-tests.sh
- Deploy this release with Loggregator components using a manifest similar to
the one in
manifests/example_manifest.yml
. The example has comments to describe the necessary changes to variables. - See metrics with
cf tail
andcf log-stream
. There should be a metric namedservice_dummy
with a value of 99.