Disclaimer: I was following the attached tutorial
Potential bug report
Summary
I think the hosted container of opentsdb-bigtable has a bug, when creating more than 128 metrics, as descirbed here OpenTSDB/opentsdb#1002
Details
I was using the existing container for opentsdb-write and opentsdb-read (hosted on gcr, linked in the deployments), as described in the tutorial. https://github.com/GoogleCloudPlatform/opentsdb-bigtable/blob/master/deployments/opentsdb-write.yaml#L27
From the start, I had issues when writing large amounts of metrics (high cardinality) and ran debugging sessions on the cluster, bigtable, the pods, GCP dataflow (where the data originates), etc. The errors I got did not make sense, also the official mailing list could not help me.
Now, I think i was able to narrow it down:
Note: the bug occured exactly around the time this repo was created, and thus was probably in the repo as you pulled it for the container (as you pull from github to build the container, see also here #1).
Reproduction
- just follow the tutorial, create empty Bigtable instance, and fire up cluster and opentsdb pods
- log in to a pod
- execute
tsdb mkmetric metric{1,2,3} etc for various metrics
Expected: no problems
Result: 129th metric fails
See also here: https://groups.google.com/forum/#!topic/opentsdb/aRbG4tmcwy8
Solution
New docker container should fix it (I built my own version of 2.4 in the process, and no problems anymore). It is now super fast and performs as expected.
Disclaimer: I was following the attached tutorial
Potential bug report
Summary
I think the hosted container of opentsdb-bigtable has a bug, when creating more than 128 metrics, as descirbed here OpenTSDB/opentsdb#1002
Details
I was using the existing container for opentsdb-write and opentsdb-read (hosted on gcr, linked in the
deployments), as described in the tutorial. https://github.com/GoogleCloudPlatform/opentsdb-bigtable/blob/master/deployments/opentsdb-write.yaml#L27From the start, I had issues when writing large amounts of metrics (high cardinality) and ran debugging sessions on the cluster, bigtable, the pods, GCP dataflow (where the data originates), etc. The errors I got did not make sense, also the official mailing list could not help me.
Now, I think i was able to narrow it down:
Note: the bug occured exactly around the time this repo was created, and thus was probably in the repo as you pulled it for the container (as you pull from github to build the container, see also here #1).
Reproduction
tsdb mkmetric metric{1,2,3}etc for various metricsExpected: no problems
Result: 129th metric fails
See also here: https://groups.google.com/forum/#!topic/opentsdb/aRbG4tmcwy8
Solution
New docker container should fix it (I built my own version of 2.4 in the process, and no problems anymore). It is now super fast and performs as expected.