Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] Add dashboard metric endpoints #204 #205

Merged
merged 8 commits into from
Oct 8, 2024

Conversation

rv2931
Copy link
Collaborator

@rv2931 rv2931 commented Oct 5, 2024

METRICS ENDPOINTS

global

  • /metrics/vessels-in-activity/total/{start_at/{end_at}
  • /metrics/zone-visited/total/{start_at/{end_at}metrics

metrics

  • /zones/{zone_id}/{zone_types}/visit?limit=N&orderBy=ASC/DESC > renvoie le visiting time pour les top N vessels dans touts les zones/la zone_id
  • /vessels/{vessel_id}/{visit_types|all}/visit?limit=N&orderBy=ASC/DESC > renvoie le visiting time pour les top N zones pour tous les vessel/le vessel_id
  • ADD temporal filters (start_at, end_at) as Timestamps (start/end included ? GMT+0 ?)
  • define what is the "most visited" criteria

@rv2931 rv2931 force-pushed the feat_dashboard_metric_endpoints_204 branch from 14a0937 to b67533e Compare October 5, 2024 21:13
@rv2931 rv2931 force-pushed the feat_dashboard_metric_endpoints_204 branch from a1a641b to e9630e5 Compare October 6, 2024 00:08
@rv2931
Copy link
Collaborator Author

rv2931 commented Oct 7, 2024

/metrics/vessels-in-activity/total/{start_at/{end_at}
/metrics/zone-visited/total/{start_at/{end_at}metrics

sont disponibles

@rv2931 rv2931 force-pushed the feat_dashboard_metric_endpoints_204 branch from cc0ce0a to f0b06f8 Compare October 7, 2024 13:53
@rv2931 rv2931 force-pushed the feat_dashboard_metric_endpoints_204 branch from f0b06f8 to d381cd5 Compare October 7, 2024 14:10
@rv2931
Copy link
Collaborator Author

rv2931 commented Oct 8, 2024

Tout n'est pas fonctionnel mais je merge pour que @ComeTiss puisse commencer à travailler sur la frontend

@rv2931 rv2931 merged commit aff45d9 into main Oct 8, 2024
4 of 7 checks passed
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