Create metric group

Create a new metric group in the specified project

Authentication

Authorizationstring
API Key authentication via header

Path parameters

projectKeystringRequiredformat: "string"
The project key

Request

This endpoint expects an object.
namestringRequired

A human-friendly name for the metric group

kindenumRequired
The type of the metric group
Allowed values:
maintainerIdstringRequired
The ID of the member who maintains this metric group
tagslist of stringsRequired
Tags for the metric group
metricslist of objectsRequired
An ordered list of the metrics in this metric group
keystringOptional
A unique key to reference the metric group
descriptionstringOptional
Description of the metric group

Response

Metric group response
_idstring
The ID of this metric group
keystring
A unique key to reference the metric group
namestring

A human-friendly name for the metric group

kindenum
The type of the metric group
Allowed values:
tagslist of strings
Tags for the metric group
_creationDatelong
Timestamp of when the metric group was created
_lastModifiedlong
Timestamp of when the metric group was last modified
maintainerobject
The maintainer of this metric
metricslist of objects
An ordered list of the metrics in this metric group
_versioninteger
The version of this metric group
descriptionstring
Description of the metric group
_accessobject
Details on the allowed and denied actions for this metric group
experimentslist of objects

Experiments that use this metric group. Only included if specified in the expand query parameter in a getMetricGroup request.

experimentCountinteger
The number of experiments using this metric group
activeExperimentCountinteger
The number of active experiments using this metric group
activeGuardedRolloutCountinteger
The number of active guarded rollouts using this metric group

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
405
Method Not Allowed Error
429
Too Many Requests Error