F5Networks / f5-telemetry-streaming

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

failoverStatus not being outputting to CloudWatch metrics consumer #256

Closed nickamon closed 1 year ago

nickamon commented 1 year ago

Environment

Summary

I'm using the SystemPoller to output telemetry data to the CloudWatch metrics consumer but there seems to be metrics missing, specifically the failoverStatus metric is missing. When I enable tracing in the config, I see the value is configured, but it is missing in CloudWatch. Is it because the data is not numeric? If that's the case, is there anything I can do via the actions pipeline to convert it to a numeric value?

Steps To Reproduce

Steps to reproduce the behavior:

  1. Submit the following declaration:

    {
    "class": "Telemetry",
    "My_System_Minimal": {
         "class": "Telemetry_System",
         "trace": false,
         "systemPoller": {
             "interval": 60
         }
     },
    "My_CloudWatchMetricsConsumer": {
        "class": "Telemetry_Consumer",
        "type": "AWS_CloudWatch",
        "dataType": "metrics",
        "metricNamespace": "xxxxx",
        "region": "xxxxx",
        "username": "xxxxx",
        "passphrase": {
            "cipherText": "xxxxx"
        }
    }
    }
  2. Observe the following error response:

    {"message":"success","declaration":{"class":"Telemetry","My_System_Minimal":{"class":"Telemetry_System","systemPoller":{"interval":60,"enable":true,"actions":[{"setTag":{"tenant":"`T`","application":"`A`"},"enable":true}]},"enable":true,"host":"localhost","port":8100,"protocol":"http","allowSelfSignedCert":false},"My_CloudWatchMetricsConsumer":{"class":"Telemetry_Consumer","type":"AWS_CloudWatch","dataType":"metrics","metricNamespace":"xxxxx","region":"xxxxxx","enable":true,"trace":false,"allowSelfSignedCert":false},"schemaVersion":"1.33.0"}}

Expected Behavior

The failoverStatus metric is available in CloudWatch.

Actual Behavior

The failoverStatus metric is not available in CloudWatch.

nickamon commented 1 year ago

This is working as designed with an explanation provided in #99, closing.