F5Networks / f5-telemetry-streaming

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

add description property to virtualServers properties to be polled #278

Open swapmat-f5 opened 6 days ago

swapmat-f5 commented 6 days ago

@

What issues does this address?

What does this change do?

Where should the reviewer start?

Any background context?

swapmat-f5 commented 6 days ago

What issues does this address? Fixes # Adds description to the Telemetry streaming output of virtual-server WIP # What does this change do? Where should the reviewer start?

swapmat-f5 commented 6 days ago

@zednickf5 I am an F5 employee and want to include this fix. I tried to use the includedata filter but the description property of the virtual-server was not being included without this fix. (same issue not see with pool description). See my TS declaration below -

{
    "class": "Telemetry",
    "F5_Poller": {
        "class": "Telemetry_System_Poller",
        "interval": 0,
        "actions": [
            {
                "includeData": {},
                "locations": {
                    "system": true,
                    "virtualServers": {
                        ".*": {
                            "description": true,
                            "name": true
                        }
                    },
                    "pools": {
                        ".*": {
                            "activeMemberCnt": true,
                            "serverside.bits.*": true,
                            "serverside.curConns": true,
                            "availabilityState": true,
                            "enabledState": true,
                            "name": true,
                            "members": true
                        }
                    }
                }
            }
        ]
    },
    "F5_Pull_Consumer": {
        "class": "Telemetry_Pull_Consumer",
        "type": "default",
        "systemPoller": ["F5_Poller"]
    }