Open aryantaheri opened 3 years ago
Should I open a separate issue for the missing gpt0
in the dataplaneapi-specification
repository?
hi @aryantaheri it seems this is a bug, thx for reporting this.
and regarding gpt0, we can track it here also, no need to open different issue. But if you prefer, you can also open new issue on specification.
According to documentation [1] and the dataplane spec [2] General Purpose Counter 0 field name is
gpc0
. There is an extra_
in the expected field name in [3] that breaks parsing stick table entries.Here is an example:
The same applies to
gpc0_rate
,gpc1
, andgpc1_rate
.The General Purpose Tag 0
gpt0
is not covered in the parser.[1] https://cbonte.github.io/haproxy-dconv/2.0/configuration.html#4.2-stick-table%20type [2] https://github.com/haproxytech/dataplaneapi-specification/blob/5d0b7ffcb38214efeb6c7ba03c310223083c7138/models/runtime.yaml#L272 [3] https://github.com/haproxytech/client-native/blob/51acd2ab5fe3142974c16a87073cb87763047f77/runtime/stick_tables.go#L133-L134