Comments (6)
Can any of these by hadnled by ch sql driver (for instance retries)? Maybe there is some middleware for SQL client that provides these capabilities.
- Reload connection string when requested: a user can add new shards to CH installation
Can you please explain this further? Do you mean call sql.Open
when the user requests it?
from jaeger-clickhouse.
I do not know if drivers do it.
Can you please explain this further? Do you mean call sql.Open when the user requests it?
It's important to handle cases when users change the topology of the CH cluster. Adds or removes nodes. sql.Open() is part of the solution, yes. BTW it's important to reconnect when database was restarted.
from jaeger-clickhouse.
It's important to handle cases when users change the topology of the CH cluster. Adds or removes nodes. sql.Open() is part of the solution, yes. BTW it's important to reconnect when database was restarted.
Let's say the DB plugin writes to Distributed
table engine and the topology changes (e.g. added new node/shard). Is it mandatory to reconnect to DB with sql.Open
? I didn't experience this when working on https://github.com/jaegertracing/jaeger-clickhouse/blob/main/guide-sharding-and-replication.md.
from jaeger-clickhouse.
No, it's OK to connect to the remaining nodes. But, I think, eventually you need to update connection information.
from jaeger-clickhouse.
Also the storage plugin is connected to the loadbalancer and not to each individual node.
Perhaps we should mention this in our docs. @EinKrebs would you like to document this in the config?
from jaeger-clickhouse.
I think in CH each individual node is the load balancer. And you can specify this in the connection string of the driver. But it's better to ask some CH experts here... I'll do that.
from jaeger-clickhouse.
Related Issues (20)
- Add option to limit number of fetched spans per trace
- Dockerizing proposal HOT 1
- Looking for maintainers HOT 5
- Model alternative for jaeger_index table HOT 1
- How to support ARM HOT 1
- Support writeSpan via grpc stream
- [Feature]: Support Native JSON columns in Clickhouse HOT 1
- [Feature]: Use native ClickHouse interface instead of database/sql HOT 1
- [Feature]: Add ttl_only_drop_parts into table setting or possible be configured
- [Feature]: Allow changing TTL configuration on existing tables
- [Bug]: Resolve High CVEs
- [Bug]: why jaeger don't connect clickhouse databases; HOT 3
- [Feature]: Dependencies job for clickhouse backend HOT 3
- [Feature]: change insert HOT 1
- [Bug]: System Architecture reported an error when I used Click House as the storage backend HOT 1
- [Feature]: jaeger sampling strategy should sampling down /jaeger.storage.v1.SpanWriterPlugin/WriteSpan opertaion HOT 1
- [Feature]: Support communication over HTTP to allow connecting to clickhouse proxy
- Add integration test for replicated database. HOT 1
- Search by error tag does not work HOT 3
- Got plugin error "transport: error while dialing: dial unix /tmp/plugin" HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jaeger-clickhouse.