OpenTSDB some data lost

9/28/2017

I'm working with Google Cloud Platform GKE, and using kubernetes now. I am trying to use OpenTSDB through google Bigtable and it's QA time.

but it has been unexpected bugs shown when I just put some data but, it is not shown. Even long time goes on, it's not shown anymore.

I used this image and tutorial (version and env are same) https://github.com/GoogleCloudPlatform/opentsdb-bigtable

here is my steps.

1) put data with http POST request api ex) http://localhost:4242/api/put?details=true

with Json object 
{
  "metrics": "foo.bar",
  "timestamp": "1483401600000",
  "value": 1.0,
  "tags": {
"foo": "bar"
  }
}

2) Confirm log, hbase console

3) Using GET API to query it ex: http://localhost:4242/api/query?start=1483401600000&ms=true&m=sum:foo.bar

4) cannot see anything, just empty vector

-- Way Lee
bigtable
google-cloud-platform
hbase
kubernetes
opentsdb

2 Answers

9/28/2017

OpenTSB comes with a command line client tool which you can try to debug with

"..meant to be a quick debugging tool for extracting data from OpenTSDB"

Also other utilities like filesystem check fsck too can be helpful in reporting and repair if there are issues with data. Here is a full list of command line tools.

-- Shailendra
Source: StackOverflow

9/20/2019

https://cloud.google.com/bigtable/docs/integrations#opentsdb has links to more documentation on OpenTSDB and Cloud Bigtable integration, including Using OpenTSDB to Monitor Time-Series Data. You can try updating to the latest version of AsyncBigtable and see if it works.

-- Elinor Li
Source: StackOverflow