storj / team-metainfo

GNU Affero General Public License v3.0
0 stars 0 forks source link

Use metrics to track delete request performance #100

Closed mniewrzal closed 2 years ago

mniewrzal commented 2 years ago

As a team OKR we define that we need to keep eye on metainfo endpoint stability and performance. This is initial task to use metrics to verify metainfo.BeginDeleteObject performance over time. So general idea is to define redash query that will give us information about general method time execution.

Described steps are just draft idea and its possible that there is a better way to track metainfo method performance.

This is mainly a recon ticket for https://github.com/storj/team-metainfo/issues/98 but it will be also valuable to monitor metainfo.BeginDeleteObject performance after deploying server-side copy where we made huge changes how we are deleting objects and segments from DB.

Acceptance criteria:

Erikvv commented 2 years ago

Should we add this to the copy milestone?

mniewrzal commented 2 years ago

Should we add this to the copy milestone?

I was thinking about it but decided to keep it out of copy milestone as its helpful but not mandatory from a feature perspective.

mniewrzal commented 2 years ago

Good starting point to see objects related method times https://chronograf.datasci.storj.io/sources/3/dashboards/95?tempVars%5Bsatellite%5D=mars&lower=now%28%29%20-%202d

Fadila82 commented 2 years ago
mniewrzal commented 2 years ago

I believe we can mark it as done. Good job!