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

if i use a rule like this, it does not work.

   - pattern: "com.connect.task<type=status, connector=([^:]+), 
   task=([^:]+,WorkerId: ([^:]+),Trace: ([^:]+))><>State: ([^:]+)"
   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 Users" 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-users/3f1f08b1-cc2d-4471-9b17-0f9e74e8e64a%40googlegroups.com.

Reply via email to