Skip to main content
Create a new E2M

Authorizations

Authorization
string
header
required

API key authentication

Body

application/json

This data structure is used to create a new event to metric definition

name
string
required
Example:

"Service catalog latency"

description
string
Example:

"avg and max the latency of catalog service"

metricFields
Metric Field · object[]
metricLabels
Metric Label · object[]
permutationsLimit
integer<int32>
Example:

30000

spansQuery
SpansQuery · object

This data structure represents a query for spans.

type
enum<string>
Available options:
E2M_TYPE_UNSPECIFIED,
E2M_TYPE_LOGS2METRICS,
E2M_TYPE_SPANS2METRICS

Response

200 - application/json
e2m
E2M · object

This data structure represents an Event to Metrics (E2M) object.