You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.
Field timeSeries[0].points[0].distributionValue had an invalid value: Distribution value has 15 |bucket_counts| fields, which is more than the 14 buckets allowed by the bucketing options.
#98
Open
DazWilkin opened this issue
Mar 12, 2019
· 3 comments
There appears to be an issue using view.Distribution[s]:
Failed to export to Stackdriver: rpc error: code = InvalidArgument desc = Field timeSeries[0].points[0].distributionValue had an invalid value: Distribution value has 15 |bucket_counts| fields, which is more than the 14 buckets allowed by the bucketing options.
Regardless of the number of buckets chosen, the error will be:
Distribution values has {X} [bucket_counts| fields, which is more than the {X-1} buckets allowed by the bucketing options
Repro:
-- Use the Golang Stackdriver Exporter sample; fix its bugs (#99) :-(
-- Run it and observe the errors
GOOGLE_APPLICATION_CREDENTIALS=$PWD/secrets/opencensus.key.json \
go run github.com/DazWilkin/opencensus
2019/03/12 11:57:23 Setting Stackdriver default location failed: Get http://169.254.169.254/computeMetadata/v1/instance/zone: dial tcp 169.254.169.254:80: i/o timeout
> The quick brown fox jumps over the lazy dog
< THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG
> 2019/03/12 11:57:33 Failed to export to Stackdriver: rpc error: code = InvalidArgument desc = Field timeSeries[0].points[0].distributionValue had an invalid value: Distribution value has 16 |bucket_counts| fields, which is more than the 15 buckets allowed by the bucketing options.
How many times does the fox jump over the dog?
< HOW MANY TIMES DOES THE FOX JUMP OVER THE DOG?
> 2019/03/12 11:57:42 Failed to export to Stackdriver: rpc error: code = InvalidArgument desc = Field timeSeries[0].points[0].distributionValue had an invalid value: Distribution value has 15 |bucket_counts| fields, which is more than the 14 buckets allowed by the bucketing options.
The text was updated successfully, but these errors were encountered:
Indirectly via trying the Stackdriver Exporter with OpenCensus agent:
census-instrumentation/opencensus-service#456 (comment)
There appears to be an issue using
view.Distribution[s]
:Regardless of the number of buckets chosen, the error will be:
Repro:
-- Use the Golang Stackdriver Exporter sample; fix its bugs (#99) :-(
-- Run it and observe the errors
The text was updated successfully, but these errors were encountered: