Skip to content

Add New External DNS Metrics: controller.consecutive.soft.errors & controller.last_reconcile#23671

Merged
ddog-nasirthomas merged 4 commits into
masterfrom
nasir.thomas/add-external-dns-metrics
Jun 2, 2026
Merged

Add New External DNS Metrics: controller.consecutive.soft.errors & controller.last_reconcile#23671
ddog-nasirthomas merged 4 commits into
masterfrom
nasir.thomas/add-external-dns-metrics

Conversation

@ddog-nasirthomas

@ddog-nasirthomas ddog-nasirthomas commented May 11, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Adds two new metrics controller.consecutive.soft.errors & controller.last_reconcile

Verified the metrics with this documentation: https://kubernetes-sigs.github.io/external-dns/latest/docs/monitoring/metrics/#supported-metrics

Motivation

Customer FR
https://datadoghq.atlassian.net/browse/FRAGENT-3558
https://datadoghq.atlassian.net/browse/FRAGENT-3559

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Add the qa/skip-qa label if the PR doesn't need to be tested during QA.
  • If you need to backport this PR to another branch, you can add the backport/<branch-name> label to the PR and it will automatically open a backport PR once this one is merged

@codecov

codecov Bot commented May 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.02%. Comparing base (57b7286) to head (2405a17).
⚠️ Report is 129 commits behind head on master.

Additional details and impacted files
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@datadog-prod-us1-3

datadog-prod-us1-3 Bot commented May 11, 2026

Copy link
Copy Markdown

Pipelines  Tests

Fix all issues with BitsAI

⚠️ Warnings

🚦 1 Pipeline job failed

Validate repository | Run Validations / Validate   View in Datadog   GitHub Actions

🛟 This job is unlikely to succeed on retry. Please review your pipeline configuration. PR #23671 is missing an Agent-release QA decision label. Every pull request must declare whether its changes require QA validation.

ℹ️ Info

No other issues found (see more)

🧪 All tests passed
❄️ No new flaky tests detected

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 89.29%

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 2405a17 | Docs | Datadog PR Page | Give us feedback!

@ddog-nasirthomas

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Bravo.

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@ddog-nasirthomas ddog-nasirthomas marked this pull request as ready for review May 12, 2026 14:19
@ddog-nasirthomas ddog-nasirthomas requested review from a team as code owners May 12, 2026 14:19

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2405a17293

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@@ -0,0 +1 @@
Added metrics external_dns.controller.last_reconcile & external_dns.controller.consecutive.soft.errors

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge End the changelog fragment with a period

The root AGENTS.md changelog instructions require each entry to be a single line that ends with a period. This new fragment currently lacks the trailing period, so it violates the repository's documented changelog format for shipped Agent changes.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Not sure how true that is. I can see this recent changelog doesnt have the period at the end of the line. https://github.com/DataDog/integrations-core/blob/master/apache/changelog.d/22968.added

@ddog-nasirthomas ddog-nasirthomas added the qa/required QA is required for this PR and will generate a QA card label Jun 2, 2026
@dd-octo-sts

dd-octo-sts Bot commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Validation Report

All 21 validations passed.

Show details
Validation Description Status
agent-reqs Verify check versions match the Agent requirements file
ci Validate CI configuration and code coverage settings
codeowners Validate every integration has a CODEOWNERS entry
config Validate default configuration files against spec.yaml
dep Verify dependency pins are consistent and Agent-compatible
http Validate integrations use the HTTP wrapper correctly
imports Validate check imports do not use deprecated modules
integration-style Validate check code style conventions
jmx-metrics Validate JMX metrics definition files and config
labeler Validate PR labeler config matches integration directories
legacy-signature Validate no integration uses the legacy Agent check signature
license-headers Validate Python files have proper license headers
licenses Validate third-party license attribution list
metadata Validate metadata.csv metric definitions
models Validate configuration data models match spec.yaml
openmetrics Validate OpenMetrics integrations disable the metric limit
package Validate Python package metadata and naming
qa-label Validate the pull request declares whether it needs QA for the next Agent release
readmes Validate README files have required sections
saved-views Validate saved view JSON file structure and fields
version Validate version consistency between package and changelog

View full run

@ddog-nasirthomas ddog-nasirthomas added this pull request to the merge queue Jun 2, 2026
Merged via the queue into master with commit cf213ba Jun 2, 2026
88 of 94 checks passed
@ddog-nasirthomas ddog-nasirthomas deleted the nasir.thomas/add-external-dns-metrics branch June 2, 2026 11:55
@dd-octo-sts dd-octo-sts Bot added this to the 7.81.0 milestone Jun 2, 2026
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.

3 participants