You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@matwey There is no equivalent. Set the type field in metric_family_t to either METRIC_TYPE_COUNTER or METRIC_TYPE_GAUGE. The concepts of "data source name", minimum value, and maximum value no longer exist at all.
I'm not familiar with the epics plugin, but at a glance it looks like the "label" concept adapts much nicer to collectd 6.
Strawman proposal for a configuration syntax, based on the v5 epics manpage entry:
<Plugin epics>
<Family "cavity.temperature"> # metric family name
Type "counter" # or "gauge"
Unit "Cel" # for degrees celsius
<Metric "Cavity1:Temp"> # where to read the value from
Label "name" "Cavity1:Name" # populate additional metric labels
</Metric>
</Family>
</Plugin>
That's roughly what I'd focus on for a MVP version. We can add things like static labels or resource attributes later, if they are useful.
Hello,
This is placeholder issue for porting epics plugin (see #4022) to collectd-6.
The text was updated successfully, but these errors were encountered: