Skip to main content

Metric Service

The metric resource contains all the usage metrics we gather for billing purposes

Metric REST API

The Metric REST API is a read-only API allowing you to search and filter metrics. It is accessed through the following URL:

https://api.opendatadsl.com/api/metric

The API consists of the following calls:

MethodPathExampleDescription
GETGet the build information for this service
GET{release}v1List metrics
GET{release}/{key}v1/001f87a5-2927-4efc-96cd-e2ab2f20b088Retrieve a single metric using it’s unique id

Entities

Metric Entity

The metric entity contains the following information:

NameDescriptionType
_idUnique id for the metricString
typeThe type of metric - usually one of api, message, process, storage or subscriptionString
timestampThe UTC timestamp of when the metric was takenString(Date/Time)
detailA description of what the metric isString
valueThe value of the metricLong
userThe user id or tenant id of the instigator of the metricString
tidThe tenant idString
tenantThe internal tenant nameString
applicationThe application supplying the metricString
environmentThe environment the metric was taken fromString