public abstract MetricInfo.Builder setFilter(String filter)
Sets an advanced logs filter. The value of the metric is the number of log entries that match
this filter. Example: logName=projects/my-projectid/logs/syslog AND severity>=ERROR.
See Also: Advanced Log Filters
public abstract MetricInfo.Builder setName(String name)
Sets the name of the metric. Example: severe-errors. Metric identifiers are limited
to 1000 characters and can include only the following characters: A-Z, a-z,
0-9, and the special characters _-.,+!*',()%/. The forward-slash character
(/) denotes a hierarchy of name pieces, and it cannot be the first character of the
name.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-16 UTC."],[],[]]