GithubHelp home page GithubHelp logo

luxms / jaeger-postgresql Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jozef-slezak/jaeger-postgresql

8.0 4.0 2.0 4.62 MB

Jaeger Storage Plugin -> PostgreSQL

License: MIT License

Go 100.00%

jaeger-postgresql's Introduction

This is the repository that contains PostgreSQL Storage gRPC plugin for Jaeger.

IMPORTANT: This plugin is still under development. We are using it internally already but the way we store data in PostgreSQL can change based on what do we learn about the data structure!

Compile

In order to compile the plugin from source code you can use go build:

CGO_ENABLED=0 go build ./cmd/jaeger-pg-store/

Start

In order to start plugin just tell jaeger the path to a config compiled plugin (password can be passed also as ENV: DB_PASSWORD).

jaeger-all-in-one --grpc-storage-plugin.binary=./jaeger-pg-store --grpc-storage-plugin.configuration-file=./config-example.yaml

Tables

This plugins create tables if they not exist:

  • spans
  • span_logs
  • span_refs
  • operations
  • services

License

The PostgreSQL Storage gRPC Plugin for Jaeger is an MIT licensed open source project.

jaeger-postgresql's People

Contributors

jozef-slezak avatar salaleser avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

jaeger-postgresql's Issues

Remove whereBuilder

I was browsing the code and noticed this stuct. It does not seem to be used, so I recommend removing it because it is vulnerable to SQL injection:

type whereBuilder struct {
where string
params []interface{}
}
func (r *whereBuilder) andWhere(param interface{}, where string) {
if len(r.where) > 0 {
r.where += " AND "
}
r.where += where
r.params = append(r.params, param)
}

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.