Sprkl Docs
SupportSprkl websiteJoin Sprkl betaJoin Sprkl for CI
0.0.64
0.0.64
  • What is Sprkl?
  • Getting started
    • Install Sprkl
    • Instrument your code
      • Bare metal
      • Docker
      • Kubernetes
    • Start with a sample project with Docker Compose
  • Features
    • Dashboard
      • Personal vs. Global
      • Code Block Reference
    • Code markups
    • System Graph
    • Jaeger tracing
    • Jest integration
    • New! Detect runtime security vulnerabilities in your code
  • Integrations and supported stack
  • Concepts
    • Analysis
    • Instrumentation
    • Aggregations, metrics and insights
  • FAQ
  • Support
  • Sprkl for GitHub Actions
    • Overview
    • Setup
    • Pulling Sprkl data to your IDE for further debugging
  • Troubleshooting
Powered by GitBook
On this page
  • Sections
  • Errors
  • Coverage
  • Insights
  • Interactions
  • Security (New!)
  • Video
  • Errors
  • Coverage
  • Insights
  • Interactions
  1. Features

Dashboard

PreviousFeaturesNextPersonal vs. Global

Last updated 2 years ago

Sprkl offers a dashboard that integrates the code execution analysis results. The dashboard comprises various sections that display relevant information regarding your recent code changes and their effects.

The dashboard contains multiple sections. Each section has its unique structure. A commonly used record in every section is the .

Sections

Errors

The errors section aggregates errors found during the application execution.

There are two types of errors:

  1. Errors were thrown through the code changes that were analyzed.

  2. Errors that were found on infrastructure/library code execution (spans).

Coverage

The coverage is split into two categories: covered and uncovered.

The covered subsection contains records of executed code (found related spans). Each record represents a code change. The uncovered subsection contains code you have that was scanned, but no runtime execution was detected (no relatable spans).

Insights

Insights are not necessarily errors but opportunities for you to identify specific areas in your recent code change that can be improved. It helps you ensure that your code performs better and prevents particular issues from being pushed to production.

Here are a few of insights we provide:

  • Circular call: We found an HTTP request being made where the server and the client are of the same host. Meaning the request was made to a service by itself. This might be ok, but sometimes, it is better to call an internal function or method instead of performing a network-involved request.

  • Async work added: We found a non-blocking operation that takes a long time and is related to the code marked in the analysis.

  • API performance impacted: We found that the marked code change execution takes a large chunk of time as part of an API request. This indicates that you have added significant work to your API.

Interactions

We support the following components:

  • HTTP

  • GraphQL

  • Databases: Any database instrumented with OpenTelemetry. A detailed view is provided for MongoDB, SQL, and Redis databases.

Security (New!)

The security section aggregates the REACHED vulnerabilities (CVEs) found during execution. Sprkl will report to you actual packages loaded during runtime and called, which contain security vulnerabilities.

Video

Errors

Coverage

Insights

Interactions

An error thrown through code changes will contain the alongside the error message display.

The coverage is not regular code coverage, as we know. This is a git-analysis-based coverage, meaning the coverage relates to blocks that were analyzed and marked as relevant (checkout ). It's a critical metric that can tell you much about your testing in relation to the code changes you've made - Did I test all the code under the commit or pull request I'm pushing?

Interactions show the ripple effect of your recent code change on the different system components. You can see details on HTTP requests, including the appropriate methods and database queries, including collections and procedures, queues, and other components. You can also see the details of your tests execution, including tests that passed through the recent code change and that didn't, mocks, and assertions.

code block reference
Analysis
Jest
Jest
Click here to learn more
code block reference
Errors sections
Coverage section
Insights sections