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

Open
2 of 4 tasks
rv2931 opened this issue Oct 4, 2024 · 1 comment
Open
2 of 4 tasks

[FEAT] Add dashboard metric endpoints #204

rv2931 opened this issue Oct 4, 2024 · 1 comment
Assignees
Labels
backend P2 This doesn't seem right

Comments

@rv2931
Copy link
Collaborator

rv2931 commented Oct 4, 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
rv2931 added a commit that referenced this issue Oct 8, 2024
…oints_204

[FEAT] Add dashboard metric endpoints #204
@louwelgryn
Copy link
Collaborator

louwelgryn commented Oct 31, 2024

pour améliorer les perfs de l'API.
en P2 préparatif pour problèmes de perfs.

granularité : heure.
mises à jour : toutes les 15 min. (ou a définir)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend P2 This doesn't seem right
Projects
None yet
Development

No branches or pull requests

4 participants