i have a metric with a lot of attributes.
I want to export that into prometheus with labels
For instance i have a object with objectname containing type=status, 
connector=something,task=something
but it has attributes WorkerId, Trace and State

i want to use a rule like the following

   - pattern: "com.connect.task<type=status, connector=([^:]+), 
   task=([^:]+)><>State: ([^:]+),WorkerId: ([^:]+),Trace: ([^:]+)"
   name: "com_connect_connector_task_status"
   value: 1
   labels:
   connector: $1
   task: $2
   status: $3
   worker_id: $4
   trace: $5

How are users supposed to get attributes into labels

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-developers/054488b4-5b3d-43c7-b7f1-c600a69446aa%40googlegroups.com.

Reply via email to