Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Parameter

Description

Required

Default Value

description

Description of the metric

 

None

direction

Possible values: -1 , | 0 , | 1

 None

domain

 

 None
name  YesNone

qualitative

Is it a qualitative metric?
Possible values: 0 , | 1

 None
val_type

Value type.
Possible values: PERCENT, INT, FLOAT, STRING, BOOL, MILLISEC

 YesNone
user_definedCan user fill measures online?
Possible values: true , | false 
 NoNonefalse

Update a Metric

DescriptionUpdate a metric

URL

/api/metrics

MethodPUT
 Security

Requires Global Administrator role

...

DescriptionDelete a metric

URL

/api/metrics

MethodDELETE
 Security

Requires Global Administrator role

Examples

  1. Update

    Delete metric 'myMetric':

  2. ???
  3. ???
  4. ???
     

    Code Block
    languagenone
    ??????????????????????????????,
    curl -u admin:admin -X DELETE http://localhost:9000/api/metrics/myMetric

Parameters

Parameter

Description

Required

Default Value
idid of the metricYesNone