-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Remove the old bolt implementation #12974
Conversation
3d54011
to
f6cc0e8
Compare
Looks good to me. @desa could you take a look at the metrics part? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one small comment. Other than that, it LGTM. Might be good to have @goller sign off though since he's most familiar with the phone-home metrics stuff.
4e158e5
to
d8ba1d4
Compare
"github.com/influxdata/influxdb/kit/prom/promtest" | ||
) | ||
|
||
func TestInitialKVStoreMetrics(t *testing.T) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @zhulongcheng , would you try to port the existing metrics_test.go code here?
I'd like to make sure the metrics are coming out correctly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
d8ba1d4
to
c496f01
Compare
1718268
to
f1b67c0
Compare
b7a38e9
to
ce17d90
Compare
4a3d810
to
58343dc
Compare
58343dc
to
bb20657
Compare
f9277ec
to
0807706
Compare
0807706
to
6313dd2
Compare
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had recent activity. Please reopen if this issue is still important to you. Thank you for your contributions. |
Closes #13030
Steps to remove the old bolt implementation:
KVStore.Describe
,KVStore.Collect
andkv.Service.ID
methods// register and collect prometheus metrics
bolt.Client
withbolt.KVStore
bolt.Client
// after
Step-2
, thebolt.Client
is unused, so it can be removedSpecial notes:
The
example_test.go
as a duplicate oftesting/keyvalue_log.go
, so was removed.Briefly describe your proposed changes: