Replace an E2M
PUT
https://api.coralogix.com/mgmt/openapi/3/events2metrics/events2metrics/v2No description available
Authorizations
Authorizationrequired
API key authentication
The value is a Coralogix API key. Create a personal or team API key and assign its permissions.
Request
Body
application/json
- oneOf
- Option 1
- Option 2
createTime#string
Example:
2022-06-30T12:30:00Z'description#string
Example:
avg and max the latency of catalog serviceid#string
Possible values: >= 36 characters and <= 36 characters, Value must match regular expression ^[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-b2c551f01b09isInternal#boolean
name#stringrequired
Example:
Service_catalog_latencytype#E2MTyperequired
Possible values: [E2M_TYPE_UNSPECIFIED, E2M_TYPE_LOGS2METRICS, E2M_TYPE_SPANS2METRICS]
updateTime#string
Example:
2022-06-30T12:30:00Z'Response
application/json
This data structure is obtained when replacing an existing event to metric definition
- Option 1
- Option 2
e2m#objectrequiredoneOfe2m.logsQuery# object e2m.metricFields# object[] e2m.metricLabels# object[] e2m.permutations# object
e2m.createTime#string
Example:
2022-06-30T12:30:00Z'e2m.description#string
Example:
avg and max the latency of catalog servicee2m.id#string
Possible values: >= 36 characters and <= 36 characters, Value must match regular expression ^[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-b2c551f01b09e2m.isInternal#boolean
e2m.name#stringrequired
Example:
Service_catalog_latencye2m.type#E2MTyperequired
Possible values: [E2M_TYPE_UNSPECIFIED, E2M_TYPE_LOGS2METRICS, E2M_TYPE_SPANS2METRICS]
e2m.updateTime#string
Example:
2022-06-30T12:30:00Z'