rafal-szypulka / grafana-ibm-apm

Grafana datasource plugin for IBM APM
MIT License
28 stars 15 forks source link

Strings attributes not displaying in Grafana #16

Closed jerryemby closed 6 years ago

jerryemby commented 6 years ago

Please include this information:

The returning data is correct, it is not being displayed correctly in Grafana.

":"Mar 5, 2018 10:21:48 AM"}],"tooltip":"","label":"","typeLabel":"","type":"","id":"0_621"},{"properties":[{"value":"Primary","label":"gtmsConfigPeerNodeRole","valueType":"string","id":"GTMSCONFI1"},{"value":"2018-03-05T10:22:48","label":"Timestamp","valueType":"isodatetime","id":"TIMESTAMP","displayValue":

jerryemby commented 6 years ago

I tested with the standard Linux LZ agent and tried to display the mount point for the file systems and it also couldn't not display the string.

rafal-szypulka commented 6 years ago

Please try to set Options->Table transform-> Time series to rows

jerryemby commented 6 years ago

No change, that just placed the name of the attribute on the row but the data is still a dash “–“. Regards Jerry

[cid:image001.jpg@01D3B516.711584E0]

From: Rafal Szypulka [mailto:notifications@github.com] Sent: Monday, March 5, 2018 3:22 PM To: rafal-szypulka/grafana-ibm-apm grafana-ibm-apm@noreply.github.com Cc: Emby, Jerry Gerard.Emby@IGT.com; Author author@noreply.github.com Subject: Re: [rafal-szypulka/grafana-ibm-apm] Strings attributes not displaying in Grafana (#16)

Please try to set Options->Table transform-> Time series to rows

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/rafal-szypulka/grafana-ibm-apm/issues/16#issuecomment-370551693, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVCexGa8v8e_7L2ChCYSK_nFyBCzGJgXks5tbZ5WgaJpZM4Scodw. CONFIDENTIALITY NOTICE: This message is the property of International Game Technology PLC and/or its subsidiaries and may contain proprietary, confidential or trade secret information. This message is intended solely for the use of the addressee. If you are not the intended recipient and have received this message in error, please delete this message from your system. Any unauthorized reading, distribution, copying, or other use of this message or its attachments is strictly prohibited.

rafal-szypulka commented 6 years ago

Maybe the parameter value is kept in the value item in the json response instead of displayValue... Try to change Value Attribute to value instead of displayValue in the panel query editor and click refresh icon (it won't refresh automatically like for other parameters). Option Time series to rows also must be enabled. For Linux OS Disk it works: image

jerryemby commented 6 years ago

Rafal,

        Changing the Value Attribute to value did the trick,  I will test it out today with other string attributes.  Thanks Jerry

From: Rafal Szypulka [mailto:notifications@github.com] Sent: Tuesday, March 6, 2018 7:50 AM To: rafal-szypulka/grafana-ibm-apm grafana-ibm-apm@noreply.github.com Cc: Emby, Jerry Gerard.Emby@IGT.com; Author author@noreply.github.com Subject: Re: [rafal-szypulka/grafana-ibm-apm] Strings attributes not displaying in Grafana (#16)

Maybe the parameter value is kept in the value item in the json response instead of displayValue... Try to change Value Attribute to value instead of displayValue in the panel query editor and click refresh icon (it won't refresh automatically like for other parameters). Option Time series to rows also must be enabled. For Linux OS Disk it works: [image]https://user-images.githubusercontent.com/11664393/37033075-e99efdd4-2144-11e8-9da2-b0a2be076a9c.png

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/rafal-szypulka/grafana-ibm-apm/issues/16#issuecomment-370771161, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVCexDQ0ndUmZGZKpx1my1FxAGLtcgH6ks5tboXzgaJpZM4Scodw. CONFIDENTIALITY NOTICE: This message is the property of International Game Technology PLC and/or its subsidiaries and may contain proprietary, confidential or trade secret information. This message is intended solely for the use of the addressee. If you are not the intended recipient and have received this message in error, please delete this message from your system. Any unauthorized reading, distribution, copying, or other use of this message or its attachments is strictly prohibited.

jerryemby commented 6 years ago

Rafal,

        One other question, there seems to be a limitation on the Metric Name to 10 characters.  Is there a way to make that larger?  Jerry

[cid:image001.png@01D3B52D.382CEB20]

From: Rafal Szypulka [mailto:notifications@github.com] Sent: Tuesday, March 6, 2018 7:50 AM To: rafal-szypulka/grafana-ibm-apm grafana-ibm-apm@noreply.github.com Cc: Emby, Jerry Gerard.Emby@IGT.com; Author author@noreply.github.com Subject: Re: [rafal-szypulka/grafana-ibm-apm] Strings attributes not displaying in Grafana (#16)

Maybe the parameter value is kept in the value item in the json response instead of displayValue... Try to change Value Attribute to value instead of displayValue in the panel query editor and click refresh icon (it won't refresh automatically like for other parameters). Option Time series to rows also must be enabled. For Linux OS Disk it works: [image]https://user-images.githubusercontent.com/11664393/37033075-e99efdd4-2144-11e8-9da2-b0a2be076a9c.png

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/rafal-szypulka/grafana-ibm-apm/issues/16#issuecomment-370771161, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVCexDQ0ndUmZGZKpx1my1FxAGLtcgH6ks5tboXzgaJpZM4Scodw. CONFIDENTIALITY NOTICE: This message is the property of International Game Technology PLC and/or its subsidiaries and may contain proprietary, confidential or trade secret information. This message is intended solely for the use of the addressee. If you are not the intended recipient and have received this message in error, please delete this message from your system. Any unauthorized reading, distribution, copying, or other use of this message or its attachments is strictly prohibited.

rafal-szypulka commented 6 years ago

@jerryemby, If you think it is a plugin code problem, please open another issue, attach a screenshot or describe the problem in more details. Original issue has been solved, so I am closing it.