Layer7 API Management

 View Only

Policy to publish gateway metrics as chart.js 

Sep 21, 2018 03:06 AM

Hi all,

 

I have modified the GatewayMetricsAssertion Policy that is included with the Tactical GatewayMetricsAssertion package.

This gwmetricschartjs policy now displays some gatewaymetrics as a chart.js graph.

URL parameters are used to display the metrics avgFrontendResponseTime, avgBackendResponseTime, successfulRequestRate, policyViolationRate, routingFailureRate. Of course you can modify it in the code (XSLT).

Test the policy with a webbrowser with internet access by a get request to the policy.

 

Greetings, Sebastian.

Statistics
0 Favorited
21 Views
1 Files
0 Shares
8 Downloads
Attachment(s)
zip file
gwmetricschartjs.xml.zip   3 KB   1 version
Uploaded - May 29, 2019

Tags and Keywords

Comments

Oct 17, 2018 04:18 AM

Nice work, thanks=)

Sep 22, 2018 02:31 PM

Nice work Sebastian! Thanks for sharing with the community!

Related Entries and Links

No Related Resource entered.