Skip to content
This repository was archived by the owner on Apr 19, 2026. It is now read-only.
This repository was archived by the owner on Apr 19, 2026. It is now read-only.

Problem creating metrics #4

Description

@chroth7

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

  1. just follow the tutorial, create empty Bigtable instance, and fire up cluster and opentsdb pods
  2. log in to a pod
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions