Forum Discussion

Bryan_T_'s avatar
Mar 11, 2023

How do I filter the Pull Consumer page?

I posted the vanilla Prometheus Pull Consumer to my Big-IP. I wanted to know if there is a way for the Big-IP to only return the metrics I'm interested in instead of everything. Prometheus will scrape this page for the metrics.

{
"class": "Telemetry",
"My_Poller": {
"class": "Telemetry_System_Poller",
"interval": 0
},
"My_System": {
"class": "Telemetry_System",
"enable": "true",
"systemPoller": "My_Poller"
},
"My_Pull_Consumer": {
"class": "Telemetry_Pull_Consumer",
"type": "Prometheus",
"systemPoller": "My_Poller"
}
}

I only want the below metrics:

f5_totRequests
f5_getReqs
f5_isAvailable
f5_activeMemberCnt
f5_fatalAlerts
f5_clientside_bitsIn
f5_clientside_bitsOut
f5_clientside_totConns

f5_hcInOctets
f5_hcOutOctets
f5_counters_bitsIn
f5_counters_bitsOut
f5_system_cpu
f5_system_memory
f5_system_swap

 

thanks