Skip to content

feat(api)-Update Metrics strucutre,Load ContainerInfo from ETCD and Define more REST APIs on SettingsService#282

Merged
youngtaekiim merged 1 commit intoeclipse-pullpiri:mainfrom
akshaylg0314:metric
Sep 22, 2025
Merged

feat(api)-Update Metrics strucutre,Load ContainerInfo from ETCD and Define more REST APIs on SettingsService#282
youngtaekiim merged 1 commit intoeclipse-pullpiri:mainfrom
akshaylg0314:metric

Conversation

@akshaylg0314
Copy link
Contributor

📝 PR Description

feat(api)-Update Metrics strucutre,Load ContainerInfo from ETCD and Define more REST APIs on SettingsService

1.Load ContainerInfo from ETCD at SettingsService
2.Define more REST APIs on SettingsService for Dashboard 3.Update Metrics strucutre on settingsservice for Matching with ETCD keys(Board/Soc/Node)
3.Update Metrics strucutre on settingsservice for Matching with ETCD keys(Board/Soc/Node)

🔗 Related Issue
closes-> #266,
#264
#274

🧪 Test Method
Documentation is also updated with testing methods and usage in README.md file

Updated in Readme File through curl commands.

✅ Checklist
[✅] Code conventions are followed
[✅] Tests are added/modified
[✅] Documentation is updated (if necessary)

…efine more REST APIs on SettingsService[#266][#264][#274]

1.Load ContainerInfo from ETCD at SettingsService
2.Define more REST APIs on SettingsService for Dashboard
3.Update Metrics strucutre on settingsservice for Matching with ETCD keys(Board/Soc/Node)
@akshaylg0314
Copy link
Contributor Author

Hey @leeeunkoo @daeyoung-jeong-lge @youngtaekiim
Please review the code changes for Metrics structure change and for new Restapis for containerinfo at settingservice
Thanks!!

Copy link
Contributor

@daeyoung-jeong-lge daeyoung-jeong-lge left a comment

Choose a reason for hiding this comment

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

Looks nice. But it would be better if you add contents related to ContainerInfo on src/server/settingsservice/board-soc-node-rest-api.md.

@akshaylg0314
Copy link
Contributor Author

akshaylg0314 commented Sep 22, 2025 via email

@daeyoung-jeong-lge
Copy link
Contributor

@leeeunkoo @youngtaekiim I finished my review. If you have no more comment for this PR, please merge this. Thanks.

@youngtaekiim youngtaekiim merged commit 2f457e2 into eclipse-pullpiri:main Sep 22, 2025
6 checks passed
.route("/api/v1/monitoring/sync", post(sync_with_monitoring_server))
// Additional metrics routes
.route("/api/v1/metrics/nodes", get(get_all_node_metrics))
.route("/api/v1/metrics/containers", get(get_all_container_metrics))
Copy link
Contributor

Choose a reason for hiding this comment

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

I can't find "post" and "delete" for containers, not like board, soc, nodes.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hey @daeyoung-jeong-lge sorry for late reply, yesterday our team outing is there so i was not able to reply,
In this did you mean like nodesoc and board only post and delete func is needed for container also?
thanks!!

Copy link
Contributor

Choose a reason for hiding this comment

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

@akshaylg0314 No problem! And Yes. I heard from Dashboard developer that we need post and delete func also for container.

Copy link
Contributor

Choose a reason for hiding this comment

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

You can continue this on #264.

@daeyoung-jeong-lge
Copy link
Contributor

@akshaylg0314 Could you give some help to @LGSI-KarumuriHari to get ContainerInfo on Dashboard? He is getting Board/Soc/NodeInfo, but not ContainerInfo in his environment. Thanks.

@akshaylg0314
Copy link
Contributor Author

@akshaylg0314 Could you give some help to @LGSI-KarumuriHari to get ContainerInfo on Dashboard? He is getting Board/Soc/NodeInfo, but not ContainerInfo in his environment. Thanks.

Yes sure i will modify FOR POST AND DELETE also

yeohyeon-i added a commit to yeohyeon-i/pullpiri that referenced this pull request Sep 25, 2025
feat(api)-Update Metrics strucutre,Load ContainerInfo from ETCD and Define more REST APIs on SettingsService
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