Skip to main content
Replace an E2M

Authorizations

Authorization
string
header
required

API key authentication

Body

application/json

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

name
string
required
Example:

"Service_catalog_latency"

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

"2022-06-30T12:30:00Z'"

description
string
Example:

"avg and max the latency of catalog service"

id
string
Required string length: 36
Pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Example:

"d6a3658e-78d2-47d0-9b81-b2c551f01b09"

isInternal
boolean
metricFields
Metric Field · object[]
metricLabels
Metric Label · object[]
permutations
E2M Permutations · object

This data structure represents the limit of events2metrics permutations and if the limit was exceeded

spansQuery
SpansQuery · object

This data structure represents a query for spans.

updateTime
string
Example:

"2022-06-30T12:30:00Z'"

Response

200 - application/json

This data structure is obtained when replacing an existing event to metric definition

e2m
E2M · object
required

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