DEV Community

Cover image for StepZen Dashboard: Analyze and Query Your Endpoints
Roy Derks for StepZen

Posted on • Updated on • Originally published at stepzen.com

StepZen Dashboard: Analyze and Query Your Endpoints

At StepZen we want to make it as simple as possible to create a secure, and performant GraphQL API. To give you insights on how performant your GraphQL API actually is and to make it even easier to get started building, the StepZen Dashboard is releasing two key new features.

  1. Request Totals and Times on StepZen GraphQL endpoints
  2. JavaScript, cURL, and Python code samples to query StepZen GraphQL endpoints

Let's have a look at these new features, and how to use them.

Request Totals and Times

To help a user review and analyze individual StepZen endpoints, we added three different metrics to each endpoint.

  1. Queries The total number of queries run against an endpoint.

  2. Median Response Time 50% of queries have higher latency and 50% of queries have lower latency than this value. It can also be referred to as the 50% latency.

  3. 95%-ile Response Time 95% of queries have lower latency than this value and 5% have higher latency. If performing properly, this number should have a higher value than the Median Response Time.

These measurements assess the consistency of all queries being executed on an individual endpoint. With that, we understand there are more data points StepZen developers are interested in. Further statistics are on the roadmap. If you would like to tell us what else you would like to see, reach out to us on discord.

endpoints page

JavaScript, cURL, and Python Code Samples

To query a deployed StepZen GraphQL endpoint, a developer must execute a proper request to an endpoint. To developer's avail, the new StepZen dashboard provides a "connect" no-code solution that generates three different code samples for you to execute a GraphQL query!

In real time of selecting the "connect" button, StepZen will introspect your GraphQL endpoint, find a sample query, and allow you to input variables to properly execute the query.

curl code sample

Querying a StepZen GraphQL endpoint is as easy as introspecting and building one. The "connect" no-code solution takes querying a StepZen endpoint a step further by providing a sample query for you to properly call a StepZen endpoint.

Next Steps?

We have our sights on providing more analytics and capabilities to StepZen developers. To that point, you are the developer analyzing your endpoints so tell us what you want to see next! Discord is the best way to reach out to us.

Follow us on Twitter or join our Discord community to stay updated about our latest developments.

Top comments (0)