Coder Social home page Coder Social logo

odd-collector-sdk's People

Contributors

andrwqa avatar dementevnikita avatar m-qlas avatar opendatadiscoverybot avatar vixtir avatar ykobuk avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

odd-collector-sdk's Issues

Bug with Win platform

In the path to the modules (windows platform) there are "\" instead of "."

ERROR in odd-collector-aws: No module named 'odd_collector_aws.adapters.s3\adapter'
Traceback (most recent call last):
File "C:\projects\odd-collector-aws\odd_collector_aws_main_.py", line 24, in
collector = Collector(str(config_path), root_package, PLUGIN_FACTORY)

Send GZIPed JSON request bodies

Currently collectors send big JSONs without any compression. It'd be great to leverage already existing libs in order to make request bodies smaller

@Vixtir please let me know if ODD Platform needs to be tuned somehow. From my experience it won't be needed

Improve error message of failed config.yaml parsing

Here is an example of failed parsing message:

[2022-07-03 13:42:20,098] ERROR in collector_config_loader: 104 validation errors for DynamicModel
plugins -> 0 -> port
  field required (type=value_error.missing)
plugins -> 0 -> host
  field required (type=value_error.missing)
plugins -> 0 -> type
  unexpected value; permitted: 'postgresql' (type=value_error.const; given=snowflake; permitted=('postgresql',))
plugins -> 0 -> account
  extra fields not permitted (type=value_error.extra)
plugins -> 0 -> warehouse
  extra fields not permitted (type=value_error.extra)
plugins -> 0 -> port
  field required (type=value_error.missing)
plugins -> 0 -> host
  field required (type=value_error.missing)
plugins -> 0 -> type
  unexpected value; permitted: 'mysql' (type=value_error.const; given=snowflake; permitted=('mysql',))
plugins -> 0 -> account
  extra fields not permitted (type=value_error.extra)
plugins -> 0 -> warehouse
  extra fields not permitted (type=value_error.extra)
plugins -> 0 -> port
  field required (type=value_error.missing)
plugins -> 0 -> host
  field required (type=value_error.missing)

It's messy and unreadable. We should find a way to improve that

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.