-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
datastore: metrics datastore configuration optional and off by default #10788
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
Conversation
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.
thank you @gammazero, i think this makes sense, but we should document which metrics are impacted – see asks inline
fc44f11
to
8f23b6f
Compare
When ipfs is initialized, the datastore metrics wrapper is not configured by default as it previously was. To enable datastore metrics during initialization, specifying the appropriate `--profile` option. To enable datastore metrics tracking wrapper, initialize with datastore profile name + "-measure" suffix. For example: ``` ipfs init --profile flatfs-measure ``` Closes #10767
d4850a6
to
0fb5cbf
Compare
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.
lgtm, pushed changelog/docs cosmetics, if CI is green ok to merge
When ipfs is initialized, the datastore metrics wrapper is not configured by default as it previously was. To enable datastore metrics during initialization, specifying the appropriate
--profile
option.To enable datastore metrics tracking wrapper, initialize with datastore profile name + "-measure" suffix. For example:
Closes #10767