Assigned
Status Update
Comments
me...@google.com <me...@google.com> #2
Thanks for the report. I will route this to the appropriate internal team and update this when I hear back from them.
No update yet.
Thanks for the report. I will route this to the appropriate internal team and update this when I hear back from them.
Description
This will create a public issue which anybody can view and comment on.
Please provide as much information as possible. At least, this should include a description of your issue and steps to reproduce the problem. If possible please provide a summary of what steps or workarounds you have already tried, and any docs or articles you found (un)helpful.
Problem you have encountered:
I wanted to create a custom metric that would be similar to cloudkms.googleapis.com/peak_qps. That metric shows the request count for some list of API calls (what kind of calls/methods, I don't know, there is no documentation). In order to do that I create a new log-based metric that gathers requests with a given method name, I define a filter for it
What you expected to happen: I want to create a metric that would mirror behaviour of "project's maximum per-second <my-custom-defined> request count."
Steps to reproduce:
I create a filter like this: protoPayload.serviceName="cloudkms.googleapis.com" AND resource.labels.location=europe-west3 AND resource.labels.project_id=<some-project> AND ( protoPayload.methodName=Encrypt OR protoPayload.methodName=Decrypt OR protoPayload.methodName=AssymetricDecrypt OR protoPayload.methodName=AssymetricSign OR protoPayload.methodName=GetPublicKey OR protoPayload.methodName=MacSign OR protoPayload.methodName=MacVerify )
Other information: let me know if the general case of "maximum number of occurrences of a log-entry in a second, in a period of 1 minute" is possible."