Skip to content

metrics-sockstat.rb does not output hostname as first field #102

@noahbailey

Description

@noahbailey

When using this metrics plugin for Grafana via InfluxDB, it does not get added to the correct measurement.

Expected behaviour: The first field should contain the hostname of the server it runs on.
Observed behaviour: The first field is 'network' which puts all the metrics under the same measurement in InfluxDB making it rather useless for visualizations in grafana.

What it looks like:
network.sockets.total_used 298 1558632775

What it should look like:
my-server-name-here.network.sockets.total_used 298 1558632775

Appreciate all the work you guys do, thanks so much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions