Skip to content

ubbagent int64Value value missing for database_connections prior to database registration #151

@pgoldtho

Description

@pgoldtho

ubbagent-database_connections.sh is not seeding int64Value=0 for new api server instance when no databases have been registered. Example:

jsonPayload: {
message: "ServiceControlEndpoint:Send(): serviceName:  visulate-for-oracle.mp-visulate-llc-public.appspot.com  body:  {"operations":[{"consumerId":"project:pr-e23a0731652b21c","endTime":"2020-08-02T14:39:38Z","metricValueSets":[{"metricName":"visulate-for-oracle.mp-visulate-llc-public.appspot.com/database_connections","metricValues":[{"endTime":"2020-08-02T14:39:38Z","startTime":"2020-08-02T13:39:37Z"}]}],"operationId":"8c9e5f47-68d8-40d5-8fff-58a9cc138a03","operationName":"visulate-for-oracle.mp-visulate-llc-public.appspot.com/report","startTime":"2020-08-02T13:39:37Z","userLabels":{"goog-ubb-agent-id":"30de46d8-2637-44ed-8f8d-ab88d5647df6"}}]}"
source: "servicecontrol.go:87"
pid: "1"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions