Skip to content

fix(logs_pipelines): skip update on read-only integration pipelines#604

Merged
riyazsh merged 1 commit into
mainfrom
riyaz/HAMR-392-logs-pipelines-skip-integration
Jul 6, 2026
Merged

fix(logs_pipelines): skip update on read-only integration pipelines#604
riyazsh merged 1 commit into
mainfrom
riyaz/HAMR-392-logs-pipelines-skip-integration

Conversation

@riyazsh

@riyazsh riyazsh commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Summary

PUT /api/v1/logs/config/pipelines/<id> does not accept integration-pipeline (is_read_only: true) IDs — they're auto-managed by Datadog and cannot be modified via the public API.

Prior behaviour called update_resource whenever check_diff detected any divergence, producing a persistent 404 on every sync. Replace the update with a WARNING log (including the diff keys) and a distinct action-metric so the divergence stays observable without the futile PUT.

Test plan

  • pytest tests/unit/ — 762 passing (5 new).

@riyazsh
riyazsh requested a review from a team as a code owner July 5, 2026 03:46
The public API's PUT /api/v1/logs/config/pipelines/<id> does not accept
integration-pipeline IDs (they're auto-managed by Datadog). Prior code
issued a PUT whenever check_diff flagged a divergence, producing a
persistent 404. Replace with a WARN + metric so the divergence stays
observable without the futile write.

Co-Authored-By: Claude Opus 4.7 <[email protected]>
@riyazsh
riyazsh force-pushed the riyaz/HAMR-392-logs-pipelines-skip-integration branch from 892d248 to b944526 Compare July 5, 2026 04:09
@riyazsh
riyazsh merged commit 523069b into main Jul 6, 2026
10 of 12 checks passed
@riyazsh
riyazsh deleted the riyaz/HAMR-392-logs-pipelines-skip-integration branch July 6, 2026 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants