Add central database service with InfluxDB for time series data storage#441
Open
Add central database service with InfluxDB for time series data storage#441
Conversation
- Implement database writer service to store time series data - Implement database query service for data retrieval - Add comprehensive documentation for both services - Update docker-compose.yml with database services - Add deployment guide for typical Telestion deployments Co-authored-by: pklaschka <25147704+pklaschka@users.noreply.github.com>
- Create test client to verify database services work correctly - Add database-service.md to deployment documentation navigation - Test client demonstrates write and query workflows Co-authored-by: pklaschka <25147704+pklaschka@users.noreply.github.com>
- Make INFLUXDB_BUCKET configurable in test client - Update README with configuration option - Address code review feedback Co-authored-by: pklaschka <25147704+pklaschka@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Implement central database service for ground stations
Add central database service with InfluxDB for time series data storage
Oct 26, 2025
Member
|
@copilot So far, so good. Two points I'd like changed:
|
- Remove wildcard requirement from QUERY_SUBJECT since it's not used - Change QUERY_SUBJECT to simple subject (e.g., query.database) - Create individual Dockerfiles for database services - Add GitHub Actions workflow to publish images to ghcr.io - Update all documentation to use published images - Add Kubernetes deployment examples with published images - Keep development docker-compose.yml using build for testing Co-authored-by: pklaschka <25147704+pklaschka@users.noreply.github.com>
Author
Both issues addressed in commit 20ed43c:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ground stations need persistent time series data storage for telemetry and mission data. This adds a configurable database service based on InfluxDB v2.
Implementation
Database Writer Service (
backend-deno/samples/database/)data.telemetry.temperature→telemetry.temperature)Database Query Service (
backend-deno/samples/database-query/)query.database) - no wildcard pattern neededConfiguration
INFLUXDB_URL,INFLUXDB_TOKEN,INFLUXDB_ORG,INFLUXDB_BUCKETDATA_SUBJECT- NATS subject pattern with wildcard for data (e.g.,data.>)QUERY_SUBJECT- NATS subject for queries (e.g.,query.database)Usage
Deployment
Pre-built Docker Images (recommended)
ghcr.io/wuespace/telestion-database:latest- Database Writer Serviceghcr.io/wuespace/telestion-database-query:latest- Database Query ServiceAlso Includes
database-test-client/)Full deployment guide at
docs/docs/Deployment/database-service.md.Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.