Skip to content

DOCSP-45009 - Cluster Monitoring #361

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Dec 12, 2024

Conversation

mongoKart
Copy link
Collaborator

@mongoKart mongoKart commented Dec 6, 2024

Pull Request Info

PR Reviewing Guidelines

JIRA - https://jira.mongodb.org/browse/DOCSP-45009

Staging Links

  • fundamentals/monitoring
  • fundamentals
  • Self-Review Checklist

    • Is this free of any warnings or errors in the RST?
    • Did you run a spell-check?
    • Did you run a grammar-check?
    • Are all the links working?
    • Are the facets and meta keywords accurate?

    Copy link

    netlify bot commented Dec 6, 2024

    Deploy Preview for mongodb-docs-csharp ready!

    Name Link
    🔨 Latest commit 92a697a
    🔍 Latest deploy log https://app.netlify.com/sites/mongodb-docs-csharp/deploys/67574ad2e77efb0007a26387
    😎 Deploy Preview https://deploy-preview-361--mongodb-docs-csharp.netlify.app
    📱 Preview on mobile
    Toggle QR Code...

    QR Code

    Use your smartphone camera to open QR code link.

    To edit notification comments on pull requests, go to your Netlify site configuration.


    .. code-block:: csharp

    var clientSettings = MongoClientSettings.FromConnectionString(MongoConnectionString);
    Copy link
    Collaborator Author

    @mongoKart mongoKart Dec 6, 2024

    Choose a reason for hiding this comment

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

    Tech reviewer: Does the event-subscription process look any different in pre-3.0 driver versions? Or can I backport this all the way to 2.19?

    Choose a reason for hiding this comment

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

    Users should have been using this event-subscription process even prior 3.0 driver. There is only one case where users could subscribe to a ClusterDescriptionChangedEvent directly through Client.Cluster since the cluster used to expose its DescriptionChanged handler. But we removed that in 3.0 and there are no other ways for users to subscribe to events other than through ClusterBuilder.

    Copy link
    Collaborator Author

    Choose a reason for hiding this comment

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

    Thanks. I'll backport this page all the way to v2.22 then.

    @stephmarie17 stephmarie17 self-requested a review December 9, 2024 18:18
    Copy link
    Collaborator

    @stephmarie17 stephmarie17 left a comment

    Choose a reason for hiding this comment

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

    LGTM with one comment ✅

    @mongoKart mongoKart requested review from a team, JamesKovacs and BorisDog and removed request for a team and JamesKovacs December 9, 2024 19:54
    Copy link

    @adelinowona adelinowona left a comment

    Choose a reason for hiding this comment

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

    LGTM

    @mongoKart mongoKart removed the request for review from BorisDog December 12, 2024 19:44
    @mongoKart mongoKart merged commit ff92199 into mongodb:master Dec 12, 2024
    14 of 15 checks passed
    @mongoKart mongoKart deleted the docsp-45009-cluster-monitoring branch December 12, 2024 19:44
    Copy link

    The backport to v2.30 failed:

    The process '/usr/bin/git' failed with exit code 1
    

    To backport manually, run these commands in your terminal:

    # Fetch latest updates from GitHub
    git fetch
    # Create a new working tree
    git worktree add .worktrees/backport-v2.30 v2.30
    # Navigate to the new working tree
    cd .worktrees/backport-v2.30
    # Create a new branch
    git switch --create backport-361-to-v2.30
    # Cherry-pick the merged commit of this pull request and resolve the conflicts
    git cherry-pick -x --mainline 1 ff92199dd14d917e26633c9161a565f5ce399247
    # Push it to GitHub
    git push --set-upstream origin backport-361-to-v2.30
    # Go back to the original working tree
    cd ../..
    # Delete the working tree
    git worktree remove .worktrees/backport-v2.30

    Then, create a pull request where the base branch is v2.30 and the compare/head branch is backport-361-to-v2.30.

    github-actions bot pushed a commit that referenced this pull request Dec 12, 2024
    Copy link

    The backport to v2.29 failed:

    The process '/usr/bin/git' failed with exit code 1
    

    To backport manually, run these commands in your terminal:

    # Fetch latest updates from GitHub
    git fetch
    # Create a new working tree
    git worktree add .worktrees/backport-v2.29 v2.29
    # Navigate to the new working tree
    cd .worktrees/backport-v2.29
    # Create a new branch
    git switch --create backport-361-to-v2.29
    # Cherry-pick the merged commit of this pull request and resolve the conflicts
    git cherry-pick -x --mainline 1 ff92199dd14d917e26633c9161a565f5ce399247
    # Push it to GitHub
    git push --set-upstream origin backport-361-to-v2.29
    # Go back to the original working tree
    cd ../..
    # Delete the working tree
    git worktree remove .worktrees/backport-v2.29

    Then, create a pull request where the base branch is v2.29 and the compare/head branch is backport-361-to-v2.29.

    Copy link

    The backport to v2.28 failed:

    The process '/usr/bin/git' failed with exit code 1
    

    To backport manually, run these commands in your terminal:

    # Fetch latest updates from GitHub
    git fetch
    # Create a new working tree
    git worktree add .worktrees/backport-v2.28 v2.28
    # Navigate to the new working tree
    cd .worktrees/backport-v2.28
    # Create a new branch
    git switch --create backport-361-to-v2.28
    # Cherry-pick the merged commit of this pull request and resolve the conflicts
    git cherry-pick -x --mainline 1 ff92199dd14d917e26633c9161a565f5ce399247
    # Push it to GitHub
    git push --set-upstream origin backport-361-to-v2.28
    # Go back to the original working tree
    cd ../..
    # Delete the working tree
    git worktree remove .worktrees/backport-v2.28

    Then, create a pull request where the base branch is v2.28 and the compare/head branch is backport-361-to-v2.28.

    Copy link

    The backport to v2.27 failed:

    The process '/usr/bin/git' failed with exit code 1
    

    To backport manually, run these commands in your terminal:

    # Fetch latest updates from GitHub
    git fetch
    # Create a new working tree
    git worktree add .worktrees/backport-v2.27 v2.27
    # Navigate to the new working tree
    cd .worktrees/backport-v2.27
    # Create a new branch
    git switch --create backport-361-to-v2.27
    # Cherry-pick the merged commit of this pull request and resolve the conflicts
    git cherry-pick -x --mainline 1 ff92199dd14d917e26633c9161a565f5ce399247
    # Push it to GitHub
    git push --set-upstream origin backport-361-to-v2.27
    # Go back to the original working tree
    cd ../..
    # Delete the working tree
    git worktree remove .worktrees/backport-v2.27

    Then, create a pull request where the base branch is v2.27 and the compare/head branch is backport-361-to-v2.27.

    Copy link

    The backport to v2.26 failed:

    The process '/usr/bin/git' failed with exit code 1
    

    To backport manually, run these commands in your terminal:

    # Fetch latest updates from GitHub
    git fetch
    # Create a new working tree
    git worktree add .worktrees/backport-v2.26 v2.26
    # Navigate to the new working tree
    cd .worktrees/backport-v2.26
    # Create a new branch
    git switch --create backport-361-to-v2.26
    # Cherry-pick the merged commit of this pull request and resolve the conflicts
    git cherry-pick -x --mainline 1 ff92199dd14d917e26633c9161a565f5ce399247
    # Push it to GitHub
    git push --set-upstream origin backport-361-to-v2.26
    # Go back to the original working tree
    cd ../..
    # Delete the working tree
    git worktree remove .worktrees/backport-v2.26

    Then, create a pull request where the base branch is v2.26 and the compare/head branch is backport-361-to-v2.26.

    Copy link

    The backport to v2.25 failed:

    The process '/usr/bin/git' failed with exit code 1
    

    To backport manually, run these commands in your terminal:

    # Fetch latest updates from GitHub
    git fetch
    # Create a new working tree
    git worktree add .worktrees/backport-v2.25 v2.25
    # Navigate to the new working tree
    cd .worktrees/backport-v2.25
    # Create a new branch
    git switch --create backport-361-to-v2.25
    # Cherry-pick the merged commit of this pull request and resolve the conflicts
    git cherry-pick -x --mainline 1 ff92199dd14d917e26633c9161a565f5ce399247
    # Push it to GitHub
    git push --set-upstream origin backport-361-to-v2.25
    # Go back to the original working tree
    cd ../..
    # Delete the working tree
    git worktree remove .worktrees/backport-v2.25

    Then, create a pull request where the base branch is v2.25 and the compare/head branch is backport-361-to-v2.25.

    Copy link

    The backport to v2.24 failed:

    The process '/usr/bin/git' failed with exit code 1
    

    To backport manually, run these commands in your terminal:

    # Fetch latest updates from GitHub
    git fetch
    # Create a new working tree
    git worktree add .worktrees/backport-v2.24 v2.24
    # Navigate to the new working tree
    cd .worktrees/backport-v2.24
    # Create a new branch
    git switch --create backport-361-to-v2.24
    # Cherry-pick the merged commit of this pull request and resolve the conflicts
    git cherry-pick -x --mainline 1 ff92199dd14d917e26633c9161a565f5ce399247
    # Push it to GitHub
    git push --set-upstream origin backport-361-to-v2.24
    # Go back to the original working tree
    cd ../..
    # Delete the working tree
    git worktree remove .worktrees/backport-v2.24

    Then, create a pull request where the base branch is v2.24 and the compare/head branch is backport-361-to-v2.24.

    Copy link

    The backport to v2.23 failed:

    The process '/usr/bin/git' failed with exit code 1
    

    To backport manually, run these commands in your terminal:

    # Fetch latest updates from GitHub
    git fetch
    # Create a new working tree
    git worktree add .worktrees/backport-v2.23 v2.23
    # Navigate to the new working tree
    cd .worktrees/backport-v2.23
    # Create a new branch
    git switch --create backport-361-to-v2.23
    # Cherry-pick the merged commit of this pull request and resolve the conflicts
    git cherry-pick -x --mainline 1 ff92199dd14d917e26633c9161a565f5ce399247
    # Push it to GitHub
    git push --set-upstream origin backport-361-to-v2.23
    # Go back to the original working tree
    cd ../..
    # Delete the working tree
    git worktree remove .worktrees/backport-v2.23

    Then, create a pull request where the base branch is v2.23 and the compare/head branch is backport-361-to-v2.23.

    Copy link

    The backport to v2.22 failed:

    The process '/usr/bin/git' failed with exit code 1
    

    To backport manually, run these commands in your terminal:

    # Fetch latest updates from GitHub
    git fetch
    # Create a new working tree
    git worktree add .worktrees/backport-v2.22 v2.22
    # Navigate to the new working tree
    cd .worktrees/backport-v2.22
    # Create a new branch
    git switch --create backport-361-to-v2.22
    # Cherry-pick the merged commit of this pull request and resolve the conflicts
    git cherry-pick -x --mainline 1 ff92199dd14d917e26633c9161a565f5ce399247
    # Push it to GitHub
    git push --set-upstream origin backport-361-to-v2.22
    # Go back to the original working tree
    cd ../..
    # Delete the working tree
    git worktree remove .worktrees/backport-v2.22

    Then, create a pull request where the base branch is v2.22 and the compare/head branch is backport-361-to-v2.22.

    github-actions bot pushed a commit that referenced this pull request Dec 12, 2024
    mongoKart added a commit that referenced this pull request Dec 12, 2024
    (cherry picked from commit ff92199)
    
    Co-authored-by: Mike Woofter <[email protected]>
    mongoKart added a commit that referenced this pull request Dec 12, 2024
    (cherry picked from commit ff92199)
    
    Co-authored-by: Mike Woofter <[email protected]>
    mongoKart added a commit that referenced this pull request Dec 12, 2024
    mongoKart added a commit that referenced this pull request Dec 12, 2024
    (cherry picked from commit ff92199)
    (cherry picked from commit e527fab)
    mongoKart added a commit that referenced this pull request Dec 12, 2024
    (cherry picked from commit ff92199)
    (cherry picked from commit e527fab)
    (cherry picked from commit 7564e23)
    mongoKart added a commit that referenced this pull request Dec 12, 2024
    (cherry picked from commit ff92199)
    (cherry picked from commit e527fab)
    (cherry picked from commit 7564e23)
    (cherry picked from commit 099539d)
    mongoKart added a commit that referenced this pull request Dec 12, 2024
    (cherry picked from commit ff92199)
    (cherry picked from commit e527fab)
    (cherry picked from commit 7564e23)
    (cherry picked from commit 099539d)
    mongoKart added a commit that referenced this pull request Dec 12, 2024
    (cherry picked from commit ff92199)
    (cherry picked from commit e527fab)
    (cherry picked from commit 7564e23)
    (cherry picked from commit 099539d)
    mongoKart added a commit that referenced this pull request Dec 12, 2024
    (cherry picked from commit ff92199)
    (cherry picked from commit e527fab)
    (cherry picked from commit 7564e23)
    (cherry picked from commit 099539d)
    mongoKart added a commit that referenced this pull request Dec 12, 2024
    (cherry picked from commit ff92199)
    (cherry picked from commit e527fab)
    (cherry picked from commit 7564e23)
    (cherry picked from commit 099539d)
    mongoKart added a commit that referenced this pull request Dec 12, 2024
    (cherry picked from commit ff92199)
    (cherry picked from commit e527fab)
    (cherry picked from commit 7564e23)
    (cherry picked from commit 099539d)
    mongoKart added a commit to mongoKart/docs-csharp that referenced this pull request Dec 20, 2024
    mongoKart added a commit to mongoKart/docs-csharp that referenced this pull request May 16, 2025
    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