Giter VIP home page Giter VIP logo

klogga's People

Contributors

danprot avatar klbot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

klogga's Issues

Catched panic in the process of update schema

Stack trace:

github.com/KasperskyLab/klogga/exporters/postgres.isJsonDesired({0x0, 0x0})
.../github.com/KasperskyLab/klogga/exporters/postgres/postgres_types.go:57 +0x22
github.com/KasperskyLab/klogga/exporters/postgres.GetPgTypeVal({0x0?, 0x0?})
.../github.com/KasperskyLab/klogga/exporters/postgres/postgres_types.go:46 +0x63b
github.com/KasperskyLab/klogga/exporters/postgres.(*TableSchema).GetAlterSchema(0xc00072e700, {0xc0019fb900?, {0xc000d56140?, 0x7?, 0x212b8e0?}})
.../github.com/KasperskyLab/klogga/exporters/postgres/table_schema.go:57 +0x76a
github.com/KasperskyLab/klogga/exporters/postgres.(*Exporter).updateSchema(0xc0004f3570, {0x2b9e718?, 0xc002117080?}, {0xc000ac5cc8, 0x7}, {0xc0019fb900?, {0xc000d56140?, 0x24e24a0?, 0xc0007e8f78?}})
.../github.com/KasperskyLab/klogga/exporters/postgres/pg_exporter.go:207 +0x23b
github.com/KasperskyLab/klogga/exporters/postgres.(*Exporter).Write(0xc0004f3570, {0x2b9e6a8?, 0xc0000500e8?}, {0xc000362000, 0x31, 0x200})
.../github.com/KasperskyLab/klogga/exporters/postgres/pg_exporter.go:177 +0x2ff
github.com/KasperskyLab/klogga/batcher.(*Batcher).start.func2()
.../github.com/KasperskyLab/klogga/batcher/batcher.go:98 +0x1e6
created by github.com/KasperskyLab/klogga/batcher.(*Batcher).start
.../github.com/KasperskyLab/klogga/batcher/batcher.go:89 +0xc5

Expose Span.level

Span.Stringify is not always what users want - for example, in order to customize stdout logger it's required to rewrite Stringify. This is where we hit the problem: to output log levels D and I we must access Span.level field, which is private.

Please, add Span.Level() method to solve this issue.

Closed batcher blocks Write method call

Closed batcher blocks Write method call - batcher.Batcher.Write does not check on batcher state
Write should probably return right away, or pass spans to the underlying exporter

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.