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

Cluster: split vm_rows_inserted_total metric by tenant (accountID, projectID) #59

Closed
valyala opened this issue Jun 7, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@valyala
Copy link
Collaborator

valyala commented Jun 7, 2019

The issue

Currently vminsert in cluster version exposes vm_rows_inserted_total metric, which tracks the total number of inserted rows since vminsert start. There are no possibilities to track inserted rows by tenant aka accountID and projectID, which are passed in /insert/<accountID:projectID>/prometheus url when inserting data to VictoriaMetrics.

Solution

Add accountID and projectID labels to vm_rows_inserted_total metric exposed by vminsert in cluster version. This will allow to track per-(accountID, projectID) numbers of inserted rows.

@valyala valyala added the enhancement New feature or request label Jun 7, 2019
valyala added a commit that referenced this issue Jun 7, 2019
@valyala
Copy link
Collaborator Author

valyala commented Jun 7, 2019

The commit 8cf0a0e adds per-(accountID, projectID) metrics for vm_rows_inserted_total.

@valyala valyala closed this as completed Jun 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant