Prometheus KongPlugin config latency metrics

I am looking to get latency metrics so I’ve tried to create a KongPlugin K8s resource:
echo "
apiVersion: configuration.konghq.com/v1
kind: KongPlugin
metadata:
name: prometheus
config:
latency_metrics: true
plugin: prometheus
" | kubectl apply -n app -f -

Using docs : Prometheus plugin | Kong Docs

But I am getting validation error:
Resource: “configuration.konghq.com/v1, Resource=kongplugins”, GroupVersionKind: “configuration.konghq.com/v1, Kind=KongPlugin”
Name: “prometheus-vault”, Namespace: “vault”
for: “STDIN”: error when patching “STDIN”: admission webhook “validations.kong.konghq.com” denied the request: plugin failed schema validation: schema violation (config.latency_metrics: unknown field)