Comments (2)
Hi @shan-mx, thanks for bringing this issue up. The default data retention is a month (source:
hyperdx/packages/api/src/clickhouse/index.ts
Line 283 in 2769576
- Access ClickHouse Client:
docker compose exec ch-server clickhouse-client
- Customize Data Retention:
Let's say we want to bump the retention to 90 days.
- Logs/Spans
ALTER TABLE log_stream MODIFY TTL toDateTime(_created_at) + INTERVAL 90 DAY DELETE
- Metrics
ALTER TABLE metric_stream MODIFY TTL toDateTime(_created_at) + INTERVAL 90 DAY DELETE
Hope this is helpful :)
from hyperdx.
@wrn14897 Thank you for your detailed response. It's very helpful to me!
from hyperdx.
Related Issues (20)
- [HDX-130] Optimize Metric Tag Fetching
- [HDX-142] Support non numeric values for histogram HOT 5
- [HDX-166] Persist Bar Chart Display HOT 3
- [HDX-134] Metrics need to handle counter restarts and related edge cases better HOT 1
- [HDX-253] Persist Custom Columns HOT 5
- [HDX-410] Support Otel gRPC HOT 1
- Support for piping logs from Render.com HOT 3
- Dashboard Live Tail? HOT 1
- Sign up rejects presumed strong password HOT 2
- [HDX-491] [HDX-492] Support Structured Search over Span Events
- Unify service.instance.id?
- tracePropagationTargets property in Browser JS HOT 2
- [HDX-605] Reset Initial User Password
- hyperdx-c# package / C# Support in the future?
- How to integrate hyperdx in Flutter applications or native iOS or Android App HOT 1
- Running HyperDx without ingestion key HOT 2
- Line Chart Builder - Perform regex on Distinct by - Property HOT 2
- [Bug] Line Charts - duplicate colors and strange count_distinct group
- [Bug] Invalid `SERVER_URL` in the first few requests HOT 2
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 hyperdx.