Using Metrics in Meshery
Connect and use metrics in Meshery
Meshery provides performance reports, including performance test results, node resource metrics etc. so that operators may easily understand the overhead of their service meshβs control plane and data plane in context of the overhead incurred on nodes running within the cluster. In order to generate performance test reports of service meshes and their workloads, Meshery uses Grafana and/or Prometheus as visualization and metrics systems, respectively. This guide outlines the requirements necessary for Meshery to connect to these systems. The steps may vary depending upon the service mesh and its configuration.
In order to pull in these environment metrics, you can also manually configure Meshery to connect with your existing Grafana and/or Prometheus instances through the Meshery dashboard. Once they have been loaded and are displayed on the screen, you may also perform an ad-hoc test to check Mesheryβs connection status.
User needs to set the Prometheus URL and API key to create and query boards.
User needs to set the Grafana URL and API key to create and query boards.
Static Boards capture the standard performance metrics included in every Meshery performance test irrespective of which load generator is used. A set calculations are made using statistical analysis of the metrics gathered in the static boards. Static Boards Queries Prometheus SDK directly.
Dynamic Boards can be generated from Prometheus or Grafana. These boards are defined by the user. Grafana SDK is used for these boards.
Suggested Reading
- Interpreting Performance Test Results - This guide is to help users to glean an insights of what the performance tests result should look like.
- Managing Performance - Advanced performance characterization with Meshery.
- Performance Management with Meshery - This guide is to help users get a better overview of running and managing performance tests in Meshery