1. We have created a custom metric such as the following.
2. Inserted Logs via Gcloud like the following :
gcloud logging write logname { servicename: service1, subsytemsname:subsystem1, TTRValue: 700 } --payload-type=json
example payload:
{
insertId: "pta2dmf1d4ey3"
jsonPayload: {
EndTimestamp: "2020-12-01 13:30:50+00:00"
correlation_exec_id: "correlation_id"
Node_ipfirst: "x.x.x.x.x:80"
Node_ipsecound: "x.x.x.x:80"
SenerioName: "Senerio1"
ServiceName: "Service1"
Starttimestamp: "2020-12-01 08:05:34+00:00"
SubsystemName: "subsystem1"
TTRTime: "19516"
}
logName: "projects/MYPROJECT/logs/Service-TTR"
receiveTimestamp: "2020-12-01T13:30:51.032430868Z"
resource: {…}
timestamp: "2020-12-01T13:30:51.032430868Z"
}
3. Now, I have not problem with the this save. And I can see this log in the Log Viewer But I can not figure out how to see the Value to TTRTime (which is 19516) in the above example in the Monitoring Dashboard. I have tried , Gauge,Scorecard able to see min max count over there but I want to get TTRTime (which is 19516) on dashboard(Gauge or ScoreCard).

--
© 2020 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
Email preferences: You received this email because you signed up for the Google Stackdriver Discussion Google Group (google-stackdr...@googlegroups.com) to participate in discussions with other members of the GoogleStackdriver community.
---
You received this message because you are subscribed to the Google Groups "Google Stackdriver Discussion Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-stackdriver-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-stackdriver-discussion/31f68aa5-39f7-41f5-93c6-f6a9eb3094e6n%40googlegroups.com.