Skip to content

Conversation

@AlexandreYang
Copy link
Member

@AlexandreYang AlexandreYang commented Nov 4, 2025

What does this PR do?

[network_path] Add Skipped Conns widget

Motivation

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

@AlexandreYang AlexandreYang requested review from a team as code owners November 4, 2025 20:37
@AlexandreYang AlexandreYang requested a review from pimlu November 4, 2025 20:37
@AlexandreYang AlexandreYang changed the title [network_path] Add Skipped Conns widget [CNM-4887][network_path] Add Skipped Conns widget Nov 4, 2025
@AlexandreYang AlexandreYang added the qa/skip-qa Automatically skip this PR for the next QA label Nov 4, 2025
Copy link

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

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.

ℹ️ 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".

Comment on lines +2445 to +2450
"queries": [
{
"data_source": "metrics",
"name": "query2",
"query": "sum:datadog.network_path.collector.raw_connections_chan_size{$host,$datacenter,$cluster_name} by {cluster_name,datacenter}.weighted()"
}

Choose a reason for hiding this comment

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

P1 Badge Remove unsupported .weighted() queries

The new internal channel widgets call queries like sum:datadog.network_path.collector.raw_connections_chan_size{…}.weighted() without providing the weight series. The Datadog query language does not allow a bare .weighted() suffix, so the widget will render an error instead of data. The same issue occurs for input_chan_size and processing_chan_size further down. Either drop the .weighted() call or supply a proper numerator/denominator expression.

Useful? React with 👍 / 👎.

{
"data_source": "metrics",
"name": "query2",
"query": "sum:datadog.network_path.collector.raw_connections_chan_size{$host,$datacenter,$cluster_name} by {cluster_name,datacenter}.weighted()"
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not seeing this metric exist anywhere in prod or staging: [Link to staging] Is this going to be added in the future?

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.

4 participants