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

Add a way to tag identity to Motion for Singularity telemetry #398

Merged
merged 4 commits into from
Oct 23, 2023

Conversation

xinaxu
Copy link
Contributor

@xinaxu xinaxu commented Oct 21, 2023

Offer an API to set the identity as a global variable in the database. This identity is only settable via API call.
All telemetries published will include this identity as part of payload.

This is the first step for filecoin-project/motion#174

@codecov
Copy link

codecov bot commented Oct 23, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (623947d) 73.94% compared to head (b88705d) 71.15%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #398      +/-   ##
==========================================
- Coverage   73.94%   71.15%   -2.79%     
==========================================
  Files         147      148       +1     
  Lines        9632     9658      +26     
==========================================
- Hits         7122     6872     -250     
- Misses       1770     2076     +306     
+ Partials      740      710      -30     
Files Coverage Δ
analytics/analytics.go 69.91% <100.00%> (+2.60%) ⬆️
api/api.go 73.76% <100.00%> (+0.23%) ⬆️
docs/swagger/docs.go 100.00% <ø> (ø)
handler/admin/identity.go 100.00% <100.00%> (ø)
handler/admin/interface.go 100.00% <100.00%> (ø)

... and 7 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@xinaxu xinaxu merged commit 7f1f6fc into main Oct 23, 2023
13 checks passed
@xinaxu xinaxu deleted the xinaxu/motion_telemetry branch October 23, 2023 17:53
xinaxu added a commit to filecoin-project/motion that referenced this pull request Oct 23, 2023
Context: 
- #174 

Previous steps
- data-preservation-programs/singularity#398
-
data-preservation-programs/singularity-metrics@46bc0d3

Next step:
- Create Grafana dashboard with tagged motion telemetry
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