Skip to content

Added querie does not show up in metrics #34

@rqmartins73

Description

@rqmartins73

Hi there ThePrez,

I added the bit below to the config.json file, but I'm not getting these metrics on prometheus.

{
  "name": "Disk Statistics",
  "interval": 20,
  "prefix": "DASD",
  "enabled": true,
  "sql": "SELECT ASP_NUMBER,UNIT_NUMBER,UNIT_STORAGE_CAPACITY,UNIT_SPACE_AVAILABLE,UNIT_SPACE_AVAILABLE_GB,PERCENT_USED FROM TABLE (QSYS2.SYSDISKSTAT('NO'))"
},

I confirmed it is using the config.json file, because if I renamed it it asks me to create a default one.

In the log file I don't see any related errors
Using config file: config.json
Verifying metrics collection....
Metrics collection verified.

Am I missing something?

Thanks in advance.
Regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions