Closed ghost closed 3 years ago
@avirammaryanchik most likely the problem is, that the adapter cannot map your metrics series to any kubernetes resources. According to your config you instructed the adapter to perform a 1:1 mapping to kubernetes resources:
resources:
template: "<<.Resource>>"
In the series there is only the job
label which is mappable to the job resource: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.13/#job-v1-batch which is probably not what you want.
I would suggest to inspect the kafka labels and see if it contains i.e. a pod
label. That is most likely missing here.
Hi,
Will using an external metric server will work in this case?
yes, external metrics could help here if you can't map them to kubernetes resources.
Hi I am facing the same issue $kubectl logs custom-metrics-apiserver-58f7c8dbfb-np92v -n monitoring I0709 05:09:12.516848 1 resource_converter.go:188] unable to normalize group-resource endpoint from label "endpoint", skipping: no matches for /, Resource=endpoint I0709 05:09:12.516878 1 resource_converter.go:188] unable to normalize group-resource instance from label "instance", skipping: no matches for /, Resource=instance I0709 05:09:12.516899 1 resource_converter.go:188] unable to normalize group-resource endpoint from label "endpoint", skipping: no matches for /, Resource=endpoint I0709 05:09:12.516916 1 resource_converter.go:188] unable to normalize group-resource instance from label "instance", skipping: no matches for /, Resource=instance I0709 05:09:12.516937 1 resource_converter.go:188] unable to normalize group-resource endpoint from label "endpoint", skipping: no matches for /, Resource=endpoint I0709 05:09:12.516988 1 resource_converter.go:188] unable to normalize group-resource instance from label "instance", skipping: no matches for /, Resource=instance I0709 05:09:12.517010 1 resource_converter.go:188] unable to normalize group-resource endpoint from label "endpoint", skipping: no matches for /, Resource=endpoint I0709 05:09:12.517030 1 resource_converter.go:188] unable to normalize group-resource instance from label "instance", skipping: no matches for /, Resource=instance I0709 05:09:12.517048 1 resource_converter.go:188] unable to normalize group-resource endpoint from label "endpoint", skipping: no matches for /, Resource=endpoint I0709 05:09:12.517091 1 resource_converter.go:188] unable to normalize group-resource instance from label "instance", skipping: no matches for /, Resource=instance I0709 05:09:12.517112 1 resource_converter.go:188] unable to normalize group-resource endpoint from label "endpoint", skipping: no matches for /, Resource=endpoint I0709 05:09:12.517128 1 resource_converter.go:188] unable to normalize group-resource instance from label "instance", skipping: no matches for /, Resource=instance I0709 05:09:12.517147 1 resource_converter.go:188] unable to normalize group-resource endpoint from label "endpoint", skipping: no matches for /, Resource=endpoint I0709 05:09:12.517189 1 resource_converter.go:188] unable to normalize group-resource instance from label "instance", skipping: no matches for /, Resource=instance I0709 05:09:12.517210 1 resource_converter.go:188] unable to normalize group-resource endpoint from label "endpoint", skipping: no matches for /, Resource=endpoint I0709 05:09:12.517229 1 resource_converter.go:188] unable to normalize group-resource instance from label "instance", skipping: no matches for /, Resource=instance I0709 05:09:12.517260 1 resource_converter.go:188] unable to normalize group-resource endpoint from label "endpoint", skipping: no matches for /, Resource=endpoint I0709 05:09:12.517280 1 resource_converter.go:188] unable to normalize group-resource instance from label "instance", skipping: no matches for /, Resource=instance and unabel to get custom metrics
Hi,
I'm unable to get Flink custom metric that is being viewed in Promethues and Grafhana. When doing the same for Kafka it seems to be working.
Please advise,
ConfigMap
Adaptor logs: