Skip to content

DPS-45125: ACLP Logs - add new TrafficPeak destination type - #737

Open
mduda-akamai wants to merge 1 commit into
linode:devfrom
mduda-akamai:feat/DPS-45125-ACLP-Logs-add-new-TrafficPeak-destination-type
Open

mduda-akamai wants to merge 1 commit into
linode:devfrom
mduda-akamai:feat/DPS-45125-ACLP-Logs-add-new-TrafficPeak-destination-type

Conversation

@mduda-akamai

Copy link
Copy Markdown

📝 Description

Add support for a new destination type: TrafficPeak in ACLP Logs

Note: The TrafficPeak destination is not yet supported in Linode's APIv4. I'll merge this PR once it's implemented there.

✔️ How to Test

Unit tests:
make test-unit

Integration tests:
Note: The TrafficPeak destination is not yet supported in Linode's APIv4, so the TrafficPeak integration tests are disabled for now with the RUN_TRAFFIC_PEAK_TESTS flag by default.

  1. Set up your linode token:
    export LINODE_TOKEN="YOUR_REAL_TOKEN"
  2. Set the environment variable to enable TrafficPeak tests - only when the TrafficPeak is implemented in APIv4
    export RUN_TRAFFIC_PEAK_TESTS=true
  3. Run test suite:
    make TEST_SUITE="monitor/test_monitor_logs.py" test-int

@mduda-akamai
mduda-akamai requested review from a team as code owners September 3, 2026 09:01
@mduda-akamai
mduda-akamai requested review from psnoch-akamai and yec-akamai and removed request for a team September 3, 2026 09:01
@mduda-akamai mduda-akamai changed the title feat: [DPS-45125] ACLP Logs - add new TrafficPeak destination type [DPS-45125] ACLP Logs - add new TrafficPeak destination type Sep 7, 2026
@mduda-akamai mduda-akamai changed the title [DPS-45125] ACLP Logs - add new TrafficPeak destination type DPS-45125: ACLP Logs - add new TrafficPeak destination type Sep 7, 2026
@mduda-akamai
mduda-akamai force-pushed the feat/DPS-45125-ACLP-Logs-add-new-TrafficPeak-destination-type branch from 31791b0 to bd298eb Compare September 14, 2026 12:57
@yec-akamai yec-akamai added the community-contribution contributions from the community. label Sep 14, 2026
@yec-akamai
yec-akamai requested a balanced review from Copilot September 14, 2026 13:58

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The TrafficPeak stream integration test remains skipped unless an additional undocumented flag is enabled.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Adds SDK support for TrafficPeak ACLP log destinations.

Changes:

  • Adds TrafficPeak destination models, serialization, and creation support.
  • Adds unit fixtures and unit/integration tests.
  • Adds workflow controls for TrafficPeak integration tests.
File summaries
File Description
linode_api4/objects/monitor.py Defines and deserializes TrafficPeak destinations.
linode_api4/groups/monitor.py Supports TrafficPeak destination creation.
test/unit/objects/monitor_test.py Tests serialization and loading.
test/integration/models/monitor/test_monitor_logs.py Adds gated live API coverage.
test/fixtures/monitor_streams_destinations_3.json Provides a destination fixture.
test/fixtures/monitor_streams_4.json Provides a stream fixture.
.github/workflows/e2e-test.yml Adds the TrafficPeak test input.
.github/workflows/e2e-test-pr.yml Adds the TrafficPeak PR test input.
Review details
  • Files reviewed: 8/8 changed files
  • Comments generated: 1
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread test/integration/models/monitor/test_monitor_logs.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution contributions from the community.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants