-
Notifications
You must be signed in to change notification settings - Fork 106
Description
I am now able to run Cloudprober on Cloud Run. However, I occasionally run into an issue when writing to Stackdriver.
When the instance first starts up, I get "Error getting instance name on GCE, using HOSTNAME environment variable: metadata: GCE metadata "instance/name" not defined"
Later, upon every logging instance, I get Unable to fulfill TimeSeries Create call. Err: googleapi: Error 400: One or more TimeSeries could not be written: Points must be written in order. One or more of the points specified had an older start time than the most recent point.: gce_instance{zone:us-east1-1,instance_id:} timeSeries[0-13]: custom.googleapis.com/cloudprober/sysvars/sysvars/instance{val:}
I get the first error every time, but I get the second error 75% of the time. On the instances that do have that error, nothing is logged in Stackdriver.
Let me know if there's any other information I should provide!