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.
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.
BOSH Release Artifacts
Service Metrics releases artifacts can be found on
bosh.io.
Service Metrics 1.5.6+ are licensed under Apache 2.0.
Running local tests
cd src/
./scripts/run-tests.sh
Deploying Service Metrics
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 and cf log-stream. There should be a metric
named service_dummy with a value of 99.
Deprecated
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.
service-metrics-release
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
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.
BOSH Release Artifacts
Service Metrics releases artifacts can be found on bosh.io. Service Metrics 1.5.6+ are licensed under Apache 2.0.
Running local tests
cd src/./scripts/run-tests.shDeploying Service Metrics
manifests/example_manifest.yml. The example has comments to describe the necessary changes to variables.cf tailandcf log-stream. There should be a metric namedservice_dummywith a value of 99.