F5Networks / f5-telemetry-streaming

F5 BIG-IP Telemetry Streaming
Apache License 2.0
53 stars 24 forks source link

System metrics are not streamed #270

Open leamese opened 9 months ago

leamese commented 9 months ago

Environment

Summary

A clear and concise description of what the bug is. Please also include information about the reproducibility and the severity/impact of the issue.

Steps To Reproduce

Steps to reproduce the behavior: _I Enabled debug logging, that way i could verify that System metrics were actually 'captured' in /var/tmp/telemetrytrace.log

  1. Submit the following declaration:

    {
    "class": "Telemetry",
        "controls": {
         "class":"Controls",
         "logLevel": "debug",
         "debug": true
     },
     "My_System": {
        "class": "Telemetry_System",
        "trace": "/var/tmp/telemetry_trace.log",
        "systemPoller": {
            "interval": 60
        },
        "enable": true,
        "host": "localhost",
        "port": 8100,
        "protocol": "http",
        "allowSelfSignedCert": false
    },
    "My_Listener": {
        "class": "Telemetry_Listener",
            "port": 6514,
            "enable": true,
            "trace": true,
            "match": "",
            "actions": [
                {
                    "setTag": {
                        "tenant": "`T`",
                        "application": "`A`"
                    },
                    "enable": true
                }
            ]
        },
    "My_Consumer": {
        "class": "Telemetry_Consumer",
        "type": "Generic_HTTP",
        "host": "IPv4_address",
        "protocol": "https",
        "port": 9570,
        "path": "/",
        "method": "POST",
        "headers": [
            {
                "name": "content-type",
                "value": "application/json"
            }
        ],
        "outputMode": "processed",
        "compressionType": "gzip",
        "customOpts": [
            { "name": "keepAlive", "value": true },
            { "name": "keepAliveMsecs", "value": 30000 },
            { "name": "maxSockets", "value": 30 },
            { "name": "maxFreeSockets", "value": 30 }
        ],
        "enable": true,
        "trace": false,
        "allowSelfSignedCert": true
    }
    }
  2. Observe the following error response:

    success - but no System metric traffic is being send.

Expected Behavior

A clear and concise description of what you expected to happen.

Actual Behavior

A clear and concise description of what actually happens. Please include any applicable error output.