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

Annotations for intent states (time to create, commit, stable, unstable) #120

Open
1 of 2 tasks
juztas opened this issue Jun 24, 2024 · 3 comments
Open
1 of 2 tasks
Labels
help wanted Extra attention is needed

Comments

@juztas
Copy link
Collaborator

juztas commented Jun 24, 2024

There would be a nice idea to have annotations automatically updated in the following events:

  • All states from SENSE Orchestrator (CREATE, MODIFY, COMMITTING, COMMITTED, READY, FAILED) and also config status: STABLE, UNSTABLE. That will require sense-o changes to report those timings;
  • Report submission of ping and traceroute to SiteRM

This could use an annotations api on grafana and update dynamically for any dashboard (no need to keep track of dashboard, but we need to keep track of chartid. Grafana uses annotations api to get info for a chart:

https://autogole-grafana.nrp-nautilus.io/api/annotations?from=1719242912695&to=1719243812695&limit=100&matchAny=false&dashboardUID=19436582-8947-4d9d-a382-05fe30913848

and outputs:

[{"id":129955,"alertId":0,"alertName":"","dashboardId":185,"dashboardUID":"19436582-8947-4d9d-a382-05fe30913848","panelId":930,"userId":0,"newState":"","prevState":"","created":1719243168208,"updated":1719243168208,"time":1719243020440,"timeEnd":1719243020440,"text":"CREATE_JUSTAS","tags":["CREATE"],"login":"admin","email":"admin@localhost","avatarUrl":"/avatar/46d229b033af06a191ff2267bca9ae56","data":{}},{"id":129956,"alertId":0,"alertName":"","dashboardId":185,"dashboardUID":"19436582-8947-4d9d-a382-05fe30913848","panelId":930,"userId":0,"newState":"","prevState":"","created":1719243200091,"updated":1719243200091,"time":1719242955476,"timeEnd":1719242955476,"text":"CREATE_JUSTAS","tags":["SUBMIT"],"login":"admin","email":"admin@localhost","avatarUrl":"/avatar/46d229b033af06a191ff2267bca9ae56","data":{}}]

While SiteRM might reach v0.1, SENSE-O need to discuss this with the team.

@juztas
Copy link
Collaborator Author

juztas commented Jun 24, 2024

@juztas
Copy link
Collaborator Author

juztas commented Jun 25, 2024

SiteRM ping annotations added here: #122

@juztas juztas removed the v0.1 label Aug 14, 2024
@juztas juztas removed the v0.2 label Oct 28, 2024
@juztas juztas added the help wanted Extra attention is needed label Dec 5, 2024
@juztas
Copy link
Collaborator Author

juztas commented Dec 5, 2024

Item 1 - depends on SENSE Orchestrator to keep track of all intents and state changes. @xi-yang Feature request for SENSE-O (as discussed in one of prev meetings)

All states from SENSE Orchestrator (CREATE, MODIFY, COMMITTING, COMMITTED, READY, FAILED) and also config status: STABLE, UNSTABLE. That will require sense-o changes to report those timings;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant