Skip to content

Regenerate integrations docs#22529

Merged
Ancairon merged 1 commit into
masterfrom
integrations-regen
May 22, 2026
Merged

Regenerate integrations docs#22529
Ancairon merged 1 commit into
masterfrom
integrations-regen

Conversation

@netdatabot
Copy link
Copy Markdown
Member

@netdatabot netdatabot commented May 22, 2026

Regenerate the integrations docs based on the
latest metadata yaml code.

This PR was auto-generated by
.github/workflows/generate-integrations.yml.


Summary by cubic

Regenerated Prometheus integrations docs from the latest metadata and added a troubleshooting note on disappearing/sparse metrics. The note clarifies that after 10 consecutive absent scrapes the chart is removed and related alerts clear automatically; no 0/NaN/StaleNaN is required—just omit the metric.

Written for commit 7669449. Summary will update on new commits. Review in cubic

@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

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

No issues found across 160 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.
Architecture diagram
sequenceDiagram
    participant GA as GitHub Actions
    participant Meta as Metadata YAML
    participant Gen as Doc Generator
    participant Repo as Source Repo
    participant Doc as Integration Doc
    
    Note over GA,Doc: NEW: Auto-regeneration of Prometheus integration docs
    
    GA->>Meta: Trigger generate-integrations.yml workflow
    Meta-->>GA: Latest metadata yaml
    
    GA->>Gen: Run doc generation script
    Gen->>Meta: Read integration metadata
    
    alt New or updated metadata
        Gen->>Repo: Fetch integration template
        Repo-->>Gen: Template content
        Gen->>Gen: Generate doc with troubleshooting note
        Note over Gen: Note explains 10-cycle absence detection
        Gen-->>Doc: Write integration doc
    else No metadata changes
        Gen-->>GA: No updates needed
    end
    
    GA->>Repo: Commit regenerated docs
    Repo-->>GA: Confirmation
    
    Note over Doc: Each doc now includes "Disappearing or sparse metrics" section
    
    Note over GA,Doc: Runtime behavior described in doc
    
    participant Collect as Prometheus Collector
    participant Metric as Metric Store
    participant Alert as Alert Engine
    
    Note over Collect,Alert: Described metric lifecycle
    
    Collect->>Collect: Scrape Prometheus endpoint
    alt Metric present
        Collect->>Metric: Store value
    else Metric absent
        loop 10 consecutive cycles
            Collect->>Collect: Track absence count
        end
        Collect->>Metric: Remove chart if absent 10 times
        Metric->>Alert: Clear related alerts
    end
Loading

Note: This PR contains a large number of files. cubic only reviews up to 100 files per PR, so some files may not have been reviewed. cubic prioritizes the most important files to review.
On a pro plan you can use ultrareview for larger PRs.

Re-trigger cubic

@Ancairon Ancairon merged commit 5b38179 into master May 22, 2026
157 of 174 checks passed
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