Giter Site home page Giter Site logo

Put data points over HTTP about opentsdb HOT 6 CLOSED

tsuna avatar tsuna commented on July 22, 2024
Put data points over HTTP

from opentsdb.

Comments (6)

 avatar commented on July 22, 2024

vote for the last option. I don't think JSON is necessary for TSD because data points does not contain any internal structure currently.

from opentsdb.

anomalizer avatar anomalizer commented on July 22, 2024

How would we communicate failures/warnings back to the client? This something that I struggle with the current RPC calls too.

from opentsdb.

tsuna avatar tsuna commented on July 22, 2024

The current "RPC" calls are just a dumb, telnet-style protocol. It's not a real RPC protocol. I looked at Thrift but no implementation was suitable for me. I looked at MessagePack too but the code was undocumented and the implementation wasn't suitable either. I've been considering to implement a proper RPC service with Protocol Buffers but haven't had time to do so.

The telnet-style protocol doesn't allow you to handle errors when putting data points. HTTP wouldn't allow you to handle errors either, unless you send data points one by one (unacceptable performance-wise) or unless you use something like JSON-RPC.

from opentsdb.

anomalizer avatar anomalizer commented on July 22, 2024

@tsuna, for starters I would go with something that conveys "all good" v/s "one or more of your requests could not be processed". The details can follow as arbitrary unstructured text just the way it does if we were to do an import from the command line.

from opentsdb.

manolama avatar manolama commented on July 22, 2024

I'm working on the JSON formatted ingest, see google groups

from opentsdb.

manolama avatar manolama commented on July 22, 2024

Implemented by 5880e24

from opentsdb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.