GithubHelp home page GithubHelp logo

Runtime Data Acquistion about silverback HOT 3 OPEN

fubuloubu avatar fubuloubu commented on July 4, 2024
Runtime Data Acquistion

from silverback.

Comments (3)

linear avatar linear commented on July 4, 2024

SBK-427 Runtime Signal Data Acquistion

from silverback.

mikeshultz avatar mikeshultz commented on July 4, 2024

This all sounds good and seems pretty clear.

Only thing I wonder is if we should either error or otherwise handle other return types for backwards compatibility and flexibility. Like maybe we could coerce that return to the default key/tag/label in the wanted return type. For example:

if not is_dict_of_datapoints(return_value):
    return_value = {"default": BlobDatapoint(data=return_value)}

Then that would get ignored in the blackbox metrics displays but be available via the UI to the user. I still think blob returns could be powerful for users.

from silverback.

fubuloubu avatar fubuloubu commented on July 4, 2024

This all sounds good and seems pretty clear.

Only thing I wonder is if we should either error or otherwise handle other return types for backwards compatibility and flexibility. Like maybe we could coerce that return to the default key/tag/label in the wanted return type. For example:

if not is_dict_of_datapoints(return_value):
    return_value = {"default": BlobDatapoint(data=return_value)}

Then that would get ignored in the blackbox metrics displays but be available via the UI to the user. I still think blob returns could be powerful for users.

Wanted to mention I'm doing a version of this, but only if it's a valid numeric type that we can actually display, not for any random return value type

My implementation so far is to support simple numeric datapoints, or you can subclass BaseDatapoint for a more powerful model type (we can serialize it for storage as <task_name>.<key_name> to pull for timeseries data)

from silverback.

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.