Closed ChernykhAN closed 4 years ago
Q1: The other metrics are from the prometheus client. If you don't need them just ignore these metrics. Q2: I just compared the sap_users metric for some of our test systems with the result of the function module TH_USER_LIST and got the same values. In larger system it's difficult to compare exactly because the values can change immediately.
The MetricType must be "gauge" in this case. I used the following metric:
[[TableMetrics]]
Name = "sap_users"
Help = "sm04 help"
MetricType = "gauge"
TagFilter = []
AllServers = true
FunctionModule = "TH_USER_LIST"
Table = "USRLIST"
[TableMetrics.Params]
[TableMetrics.RowCount]
MANDT = ["000", "010", "100"]
Q3: I can't say anything regarding Q3, because ZLOY_MON_MA_GET is a custom function module.
Hello,
The sap connection has been run throw load balance server.
I using exporter with config metrics:
My listing at *9663/metrics contains a lots of data, for example:
Q1:How could I disable exporting unnecessary info?
Q2: The sap_users counter contains wrong values in the most responses. Only 10-20 % of responses contains correct data.
Q3: The field EV_COUNT_MA contains wrong value also. That field type CHAR 10, should contains number of error without any chars. And it's vallue changing randomly in any next responses.
Please help to resolve issues.