Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Cloud Run issues logging to Stackdriver #257

@michaelsatanovsky

Description

@michaelsatanovsky

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions