-
Notifications
You must be signed in to change notification settings - Fork 1.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
enhancement(metrics)!: Updated internal metrics names to match standards #4647
Conversation
Signed-off-by: James Turnbull <james@lovedthanlost.net>
Signed-off-by: James Turnbull <james@lovedthanlost.net>
Signed-off-by: James Turnbull <james@lovedthanlost.net>
Signed-off-by: James Turnbull <james@lovedthanlost.net>
Signed-off-by: James Turnbull <james@lovedthanlost.net>
Signed-off-by: James Turnbull <james@lovedthanlost.net>
Signed-off-by: James Turnbull <james@lovedthanlost.net>
Signed-off-by: binarylogic <bjohnson@binarylogic.com>
Signed-off-by: binarylogic <bjohnson@binarylogic.com>
Signed-off-by: binarylogic <bjohnson@binarylogic.com>
Ha, I was just helping out. I think we got them all. |
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.
I rejigged some of the GraphQL metrics code in #4652, so I'll probably need to update this further -- but looks good.
@@ -1,6 +1,6 @@ | |||
[package] | |||
name = "vector-api-client" | |||
version = "0.1.0" | |||
version = "0.1.1" |
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.
Not sure if this version bump is meaningful. I think our consensus for internally used crates is that we don't care about versions yet, as we assume they're only used within our "tiny monorepo".
Versions should probably be given some thought in the near future, as these crates have the potential to be used outside.
Signed-off-by: James Turnbull <james@lovedthanlost.net>
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.
Looks good! I'm happy to see these aligning.
Should we label this as a breaking change? It seems like it could affect people depending on the internal_events
component. I realize we haven't publicly documented that component, but it seems to be used by people.
@@ -74,7 +74,7 @@ impl InternalEvent for WasmCompilationProgress { | |||
} | |||
|
|||
fn emit_metrics(&self) { | |||
counter!("wasm_compilation", 1, | |||
counter!("wasm_compilation_total", 1, |
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.
Not directly related to this PR (though it could impact the naming), but it is unclear to me exactly what this metric indicates. Does it indicate the count of state transitions?
cc/ @Hoverbear
@jszwedko I lean against it being a breaking change - it's not released code for which the "API" has no promises of stability. |
…rds (vectordotdev#4647) Co-authored-by: binarylogic <bjohnson@binarylogic.com> Signed-off-by: Brian Menges <brian.menges@anaplan.com>
Closes #3629
Signed-off-by: James Turnbull james@lovedthanlost.net