-
Story
-
Resolution: Unresolved
-
High
-
None
-
None
Description:
For bug hunting and debugging we use the spring restTemplate http_client_requests_* and http_server_requests_* metrics.
Currently in CPS NCMP the outgoing http_client_requests_* metrics are not available for DMI /dmi/v1/ch/{cmHandleId}/data/ds/{datastore} and /dmi/v1/data endpoint calls
It is available for DMI /dmi/v1/ch/ABCD/modules calls which I guess using the same restTemplate, however we have separate metrics sent with uri=/dmi/v1/ch/ABCD/modules tags where we have separate metrics for each cmhandle instead of having one metrics which contains every calls towards uri=/dmi/v1/ch/{cmHandleId}/modules
It is not clear if it is a bug or a configuration issue.
I guess it never worked before, or at least it is not working for a long time.
Lack of client metrics makes customer debugging complicated so we definitely need it to be able to compare the DMI plugin server request metrics with CPS client request metrics.
CPS NCMP http_client_requests_* metrics showing only health and modules endpoint calls but no calls towards /dmi/v1/ch/{cmHandleId}/data/ds/{datastore}, /dmi/v1/data
However on DMI plugin side we see the incoming calls from CPS
Expected behavior
Have http_client_requests_* metrics for each DMI endpoints /dmi/v1/ch/{cmHandleId}/data/ds/{datastore}, /dmi/v1/ch/{cmHandleId}/modules, /dmi/v1/data etc