Skip to content

Make octopus deploy integration public #20392

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 11 commits into from
May 30, 2025
Merged

Conversation

sarah-witt
Copy link
Contributor

@sarah-witt sarah-witt commented May 27, 2025

What does this PR do?

Makes the octopus deploy integration public and update some of the docs

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

@hestonhoffman
Copy link
Contributor

Hi! Adding a docs card for this one so we can review the assets before they're published.

@hestonhoffman hestonhoffman added the editorial review Waiting on a more in-depth review from a docs team editor label May 27, 2025
AAraKKe
AAraKKe previously approved these changes May 28, 2025
@temporal-github-worker-1 temporal-github-worker-1 bot dismissed AAraKKe’s stale review May 28, 2025 20:39

Review from AAraKKe is dismissed. Related teams and files:

  • agent-integrations
    • octopus_deploy/datadog_checks/octopus_deploy/data/conf.yaml.example
    • octopus_deploy/metadata.csv
@@ -2,7 +2,7 @@ metric_name,metric_type,interval,unit_name,per_unit_name,description,orientation
octopus_deploy.api.can_connect,gauge,,,,Whether or not the check can connect to the Octopus Deploy API.,-1,octopus_deploy,octopus_deploy api,,
octopus_deploy.deployment.completed_time,gauge,,second,,Duration of deployment.,-1,octopus_deploy,octopus_deploy deploy dur,,
octopus_deploy.deployment.count,gauge,,,,Number of deployments monitored.,-1,octopus_deploy,octopus_deploy deploy count,,
octopus_deploy.deployment.executing,gauge,,second,,Whether or not the deployment is currently executing.,-1,octopus_deploy,octopus_deploy deploy executing,,
octopus_deploy.deployment.executing,gauge,,,,Whether or not the deployment is currently executing.,-1,octopus_deploy,octopus_deploy deploy executing,,
Copy link
Contributor

Choose a reason for hiding this comment

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

There are a handful of lines in here where the unit_type is second but the description implies it's actually a boolean ("Whether or not..."). Can we do a pass here to confirm we're using the correct type on these lines?

@@ -2,7 +2,7 @@ metric_name,metric_type,interval,unit_name,per_unit_name,description,orientation
octopus_deploy.api.can_connect,gauge,,,,Whether or not the check can connect to the Octopus Deploy API.,-1,octopus_deploy,octopus_deploy api,,
octopus_deploy.deployment.completed_time,gauge,,second,,Duration of deployment.,-1,octopus_deploy,octopus_deploy deploy dur,,
octopus_deploy.deployment.count,gauge,,,,Number of deployments monitored.,-1,octopus_deploy,octopus_deploy deploy count,,
octopus_deploy.deployment.executing,gauge,,second,,Whether or not the deployment is currently executing.,-1,octopus_deploy,octopus_deploy deploy executing,,
octopus_deploy.deployment.executing,gauge,,,,Whether or not the deployment is currently executing.,-1,octopus_deploy,octopus_deploy deploy executing,,
octopus_deploy.deployment.executing_time,gauge,,second,,How long the deployment has been executing.,-1,octopus_deploy,octopus_deploy deploy dur,,
Copy link
Contributor

Choose a reason for hiding this comment

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

octopus_deploy deploy dur shortname is also used on line 3. Is that intentional?

Same deal for lines 7 and 8 - same shortname

Copy link

codecov bot commented May 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.17%. Comparing base (0245920) to head (a39469c).
Report is 21 commits behind head on master.

Additional details and impacted files
Flag Coverage Δ
activemq ?
cassandra ?
confluent_platform ?
hive ?
hivemq ?
hudi ?
ignite ?
jboss_wildfly ?
kafka ?
octopus_deploy 99.25% <ø> (ø)
presto ?
solr ?
tomcat ?
weblogic ?

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 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.

octopus_deploy.api.can_connect,gauge,,,,Whether or not the check can connect to the Octopus Deploy API,-1,octopus_deploy,octopus_deploy api,,
octopus_deploy.deployment.completed_time,gauge,,second,,Duration of deployment,-1,octopus_deploy,octopus_deploy deploy dur,,
octopus_deploy.deployment.count,gauge,,,,Number of deployments monitored,-1,octopus_deploy,octopus_deploy deploy count,,
octopus_deploy.deployment.executing,gauge,,,,Whether or not the deployment is currently executing,-1,octopus_deploy,octopus_deploy deploy executing,,
Copy link
Contributor

@domalessi domalessi May 28, 2025

Choose a reason for hiding this comment

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

There are a handful of lines in here where the unit_type is second but the description implies it's actually a boolean ("Whether or not..."). Can we do a pass here to confirm we're using the correct type on these lines?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated, thanks for finding that!

Comment on lines 7 to 8
octopus_deploy.deployment.queued,gauge,,second,,Whether or not the deployment is currently in the queue,-1,octopus_deploy,octopus_deploy deploy queue,,
octopus_deploy.deployment.queued_time,gauge,,second,,Time deployment was in queue,-1,octopus_deploy,octopus_deploy deploy queue,,
Copy link
Contributor

Choose a reason for hiding this comment

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

These two have the same shortname. Is that intentional? Same with lines 3 and 6 - those also share a shortname

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch, updated!

Copy link
Contributor

@domalessi domalessi left a comment

Choose a reason for hiding this comment

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

Left some suggested changes! Sorry if you got pinged a million times with my git nonsense (accidentally pushed a bunch of files on here so then had to revert). Anyway... take a look through everything and let me know what you think!

@sarah-witt
Copy link
Contributor Author

Looks good to me @domalessi, I'm going to get my team to review it!

@domalessi
Copy link
Contributor

@sarah-witt Awesome! I'll go ahead and approve from the Documentation team so you're not blocked on me :)

@NouhaManai96 NouhaManai96 removed request for a team and NouhaManai96 May 30, 2025 09:17
@sarah-witt sarah-witt added this pull request to the merge queue May 30, 2025
Merged via the queue into master with commit df33680 May 30, 2025
44 checks passed
@sarah-witt sarah-witt deleted the sarah/make-octopus-intg-public branch May 30, 2025 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment