Skip to content

Conversation

@alithethird
Copy link
Contributor

Applicable spec:

Overview

The current dashboard had some views that were not properly set up. They required application code change.

Updated the views to make use of the default values from express-prom-bundle
library.

The views include:

  • Requests: Number of requests over time.
  • Status code count: Number of requests broken by responses status code.
  • Requests per second: Number of requests per second over time.
  • 2XX Rate: Portion of responses that were successful (in the 200 range).
  • 3XX Rate: Portion of responses that were redirects (in the 300 range).
  • 4XX Rate: Portion of responses that were client errors (in the 400 range).
  • 5XX Rate: Portion of responses that were server errors (in the 500 range).
  • Request duration percentile: The 50th, 90th, and 99th percentile of all the
    request duration lengths after sorting them from slowest to fastest. For
    example, the 50th percentile represents the length of time (or less) that
    50% of the requests lasted.

Rationale

Juju Events Changes

Module Changes

Library Changes

Checklist

@alithethird alithethird requested a review from a team as a code owner October 8, 2025 07:08
@alithethird alithethird requested review from erinecon and removed request for a team October 8, 2025 07:08
@alithethird alithethird changed the title Chore: Update the dashboard Chore: Update Express the dashboard Oct 8, 2025
@alithethird alithethird changed the base branch from feat/add-fastapi-dashboard to main October 8, 2025 07:59
Copy link
Collaborator

@javierdelapuente javierdelapuente left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add a picture of the dashboard? Thanks!

@alithethird
Copy link
Contributor Author

image Express Grafana Dashboard

@alithethird alithethird requested a review from yanksyoon October 14, 2025 09:34
@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

@github-actions
Copy link
Contributor

Unused entries in .trivyignore

Image: ghcr.io/canonical/flask-minimal-app:bced48fd5dff7c209bccfc6aab35d0b86f07f3b5-_0.1_amd64

The following CVEs are in .trivyignore but not ignored by Trivy anymore:

@github-actions
Copy link
Contributor

Unused entries in .trivyignore

Image: ghcr.io/canonical/expressjs-app:41351c04cfda137c5432794b0c80131ab8b20daa-_0.1_amd64

The following CVEs are in .trivyignore but not ignored by Trivy anymore:

@github-actions
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants