Create a new E2M
https://api.coralogix.com/mgmt/openapi/5/events2metrics/events2metrics/v2Creates a new events-to-metrics rule.
Authorizations
Request
Body
- oneOf
- Option 1
- Option 2
- Option 3
Optional data source in namespace/dataset_name format. If not set, defaults to the standard logs/spans stream.
Possible values: non-empty and <= 300 characters, Value must match regular expression ^[\s\S]*$
my_namespace/my_datasetHuman-readable description for the new E2M.
Possible values: <= 2000 characters, Value must match regular expression ^[\s\S]*$
avg and max the latency of catalog serviceMetric fields to create and aggregate from the events.
Possible values: <= 10
Metric labels to attach to the generated metrics.
Possible values: <= 10
Human-readable name for the new E2M.
Possible values: non-empty and <= 255 characters, Value must match regular expression ^[\s\S]*$
Service catalog latencyMaximum number of unique metric permutations allowed for this E2M.
Possible values: >= 1 and <= 10000000
30000E2 m type.
Possible values: [E2M_TYPE_UNSPECIFIED, E2M_TYPE_LOGS2METRICS, E2M_TYPE_SPANS2METRICS]
Response
Create e2m response.
The e2m.