Skip to content

Add developer dashboard metrics endpoints#220

Closed
roncodes wants to merge 1 commit into
mainfrom
feature/developers-dashboard-refactor
Closed

Add developer dashboard metrics endpoints#220
roncodes wants to merge 1 commit into
mainfrom
feature/developers-dashboard-refactor

Conversation

@roncodes

@roncodes roncodes commented Jun 5, 2026

Copy link
Copy Markdown
Member

Summary

  • Add DeveloperMetricsController under the internal v1 namespace.
  • Add internal developer dashboard aggregate metrics endpoints under int/v1/metrics/dev/*.
  • Provide company-scoped KPI, API traffic, webhook delivery, credential, event, endpoint health, and recent activity aggregates for the developer console dashboard.
  • Add Webhook Failures and Events Emitted KPI metrics for the balanced dashboard KPI set.
  • Use the codebase-standard request input path for period parsing so the metrics endpoints do not 400 on older request contracts.
  • Return aggregate metadata only and avoid exposing API key secrets, request bodies, response bodies, or webhook payload bodies.

Companion PR

This powers the redesigned developer console dashboard in the companion dev-engine PR:

Validation

  • php -l src/Http/Controllers/Internal/v1/DeveloperDashboardController.php
  • php -l src/routes.php
  • composer test:lint was attempted, but Composer exits with code -1 and no output in this scratch worktree; composer --version has the same behavior and vendor/bin/php-cs-fixer is not present.

Documentation and API Reference Impact

  • These endpoints are internal console metrics endpoints, not public Fleetbase API endpoints.
  • No fleetbase/postman API spec update is expected.
  • No fleetbase/fleetbase.io documentation update is expected for this backend-only internal metrics support.

@roncodes roncodes force-pushed the feature/developers-dashboard-refactor branch from 11e6c34 to 84cc1e2 Compare June 6, 2026 03:46
@roncodes roncodes force-pushed the feature/developers-dashboard-refactor branch from 84cc1e2 to 995e8b7 Compare June 6, 2026 04:32
@roncodes

roncodes commented Jun 6, 2026

Copy link
Copy Markdown
Member Author

Superseded by the combined metrics API PR: #221

@roncodes roncodes closed this Jun 6, 2026
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.

1 participant