Repository navigation
feat(log-management): ship container logs to external providers via Vector - #5408
Closed
narcisonunez wants to merge 11 commits into
Closed
narcisonunez wants to merge 11 commits into
narcisonunez wants to merge 11 commits into
Conversation
narcisonunez
marked this pull request as ready for review
September 9, 2026 17:21
narcisonunez
force-pushed
the
feat/log-management
branch
from
September 9, 2026 18:48
be358a8 to
fb06231
Compare
narcisonunez
force-pushed
the
feat/log-management
branch
from
September 9, 2026 19:01
98347c6 to
17dee74
Compare
narcisonunez
force-pushed
the
feat/log-management
branch
from
September 9, 2026 19:07
7edae8c to
02445dd
Compare
Siumauricio
requested changes
Sep 10, 2026
narcisonunez
force-pushed
the
feat/log-management
branch
from
September 10, 2026 16:26
5f88b48 to
9373809
Compare
narcisonunez
force-pushed
the
feat/log-management
branch
from
September 10, 2026 16:52
9373809 to
d803fe6
Compare
…grate it into log providers page
- Updated API link conditions to allow skipping batch processing based on context. - Removed unused VECTOR_RESYNC_CRON_JOB constant from server constants. - Introduced logProviderIds field in server and webServerSettings schemas to manage log providers. - Added organization service to handle organization deletions and vector agent removals. - Enhanced server service to find servers with log management enabled and update log providers. - Updated vector setup to sync vector configurations based on organization and server log provider IDs. - Implemented Docker labels for resources to improve tracking and management. - Refactored vector agent setup and removal processes to streamline operations.
Contributor
|
@greptile review |
narcisonunez
force-pushed
the
feat/log-management
branch
from
October 7, 2026 19:21
f93c164 to
d8e810f
Compare
…ovider operations
narcisonunez
force-pushed
the
feat/log-management
branch
from
October 7, 2026 19:23
d8e810f to
4c95195
Compare
- Check accessedServers on deploy, removal and the server-status list - Keep the local claim until the agent is removed and serialize deploy/remove per target - Persist provider assignments only after the Vector deploy succeeds; release the local claim if the first deploy fails - Remove the agent on server/organization deletion even when no providers remain assigned - Report agents with no running task as not running - Refresh logProvider.one after saving, allow clearing saved credentials, keep deployed targets visible with no providers
…eleted providers on save - Inspect the dokploy-vector service before listing tasks; listTasks returns [] for a missing service - Filter provider assignments to existing providers after a deploy so a provider deleted mid-deploy is not written back
This was referenced Oct 8, 2026
Merged
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.
Adds a Log Management feature (free tier, like Vault's secrets providers): Dokploy can ship a server's container logs to an external provider for retention/search/alerting, without replacing the existing live WebSocket log viewer.
vector validate) before being applied, with secrets redacted from any validation error; writes are serialized per server (in-process queue + a Postgres advisory lock for horizontally scaled Cloud) and applied via a write-then-rename to avoid partial configs.See docs/log-management.md for the full design, known limits (single-node Swarm servers only, no embedded historical log viewer, local-host caveats on a shared self-hosted instance), and the guide for adding a new provider.
What is this PR about?
Please describe in a short paragraph what this PR is about.
Checklist
Before submitting this PR, please make sure that:
canarybranch.Issues related (if applicable)
Screenshots (if applicable)
The provider-deletion race still needs fixing before merging because deployment can restore a deleted selection and block later redeploys.
What we checked:
inspectVectorStatusreturnsstoppedwhen service inspection returns 404. The page treats that status as not deployed.Summary
Adds provider settings and per-server Vector agents to ship container logs to six external providers without replacing the live log viewer.
Reviews (9) · Last reviewed commit: "fix(log-management): report missing agen..." · Reviewed by Greptile