Skip to content
This repository was archived by the owner on Oct 1, 2019. It is now read-only.

Latest commit

 

History

History
26 lines (17 loc) · 1.18 KB

metrics.md

File metadata and controls

26 lines (17 loc) · 1.18 KB
layout title section permalink site_section
default
Metrics format
Syntax
/docs/syntax/metrics/
about-origami

Metrics format

All Origami web services are encouraged to emit metrics over TCP to the FT graphite service. Metrics keys are heirarchical, delimited by dots, and the first two levels are standardised:

{appName}.{envName}.*

Your appName must be the common name of your application, which should be the name of your code repository, the CMDB name and the first token of the service's hostname. The appName must distinguish the application from any other services run by the FT.

The envName must be a name describing the environment on which the instance of the application is running. Each environment must be reported using a unique environment name. The naming of each environment is left up to the developer.

Both appName and envName must match the PCRE pattern /^[a-z0-9\-]{3,}$/.

Examples

The following shows some examples of metrics formatted using the plaintext protocol and named in compliance with the standard above:

polyfill-service.qa.useragentcount.chome.40 735 1424112224
polyfill-service.prod.memory 58915263 1424112224