I installed sflow-rt as a docker container on kubernetes with the application preinstalled (sflow-rt/prometheus) and I can see packets arriving. I have 3 agents which input packets and am able to see flows if I ask for e.g. ipsource. What I cannot see however
are predefined metrics.
The /metrics/json outputs:
{
"prometheus_0": 31,
"prometheus_2": 31,
"prometheus_1": 31
}
While the /agents/json outputs:
{
"10.x.0.238": {
 "sFlowDatagramsLost": 2,
...snip...
 "sFlowDatagramsDuplicates": 0,
 "sFlowCounterLostSamples": 0
},
"10.x.0.240": {
 "sFlowDatagramsLost": 43,
...snip...
 "sFlowCounterDuplicateSamples": 0,
 "lastSeen": 11,
 "sFlowDatagramsDuplicates": 0,
 "sFlowCounterLostSamples": 0
}
}
The sflow code is on a huawei router, it is not something I can change, but I'm pretty sure it is solid.