Skip to content

workflow to run stylecheck #187

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 15 commits into from
Apr 2, 2025
Merged

workflow to run stylecheck #187

merged 15 commits into from
Apr 2, 2025

Conversation

bc-devrev
Copy link
Contributor

@bc-devrev bc-devrev commented Apr 1, 2025

The stylecheck.py script sends a markdown file to Claude for revision according to defined style, structure, and terminology rules.

If a PR has the label stylecheck and not the label stylecheck-complete, the stylecheck.py script runs on any .md(x) files changed in the PR. A summary of changes is posted as a comment on the timeline. If the change is an update to an existing file, suggestions for the diff context are added. If there are any suggestions outside the diff context, the full text of the revision is included in the summary comment.

To run the script locally and not as part of a PR, use the --no-suggest flag. Also include --style=style/developer.md for developer-oriented documents.

If you want stylecheck to run on new changes on a PR where it has already run, remove the stylecheck-complete label before pushing the new changes.

Copy link
Contributor

github-actions bot commented Apr 1, 2025

@bc-devrev bc-devrev added the stylecheck Revise markdown files according to DevRev style guidelines label Apr 1, 2025
Copy link
Contributor

github-actions bot commented Apr 1, 2025

Copy link
Contributor

github-actions bot commented Apr 1, 2025

Copy link
Contributor

github-actions bot commented Apr 1, 2025

@bc-devrev
Copy link
Contributor Author

✨ Comment from AI reviewer ✨

I'll analyze the document and make necessary revisions according to the style rules. Here are the violations I fixed:

  1. Terminology fixes:
  • Changed "Devrev" to "DevRev"
  • Changed "snap-in" formatting to be consistent with hyphenation
  • Changed "RevOrg" instances to "workspace"
  1. Style/Grammar fixes:
  • Removed unnecessary capitalization in headings and list items
  • Fixed parallel structure in feature list
  • Combined short, click-only steps in the installation instructions
  • Added proper sentence endings where required
  • Fixed inconsistent formatting and punctuation
  • Corrected "Updation" to "Updates" (not standard English)
  • Removed redundant information and made language more concise
  • Fixed spacing issues

@bc-devrev
Copy link
Contributor Author

✨ Comment from AI reviewer ✨

I'll analyze the document and make necessary revisions according to the style rules. Here are the violations I fixed:

  1. Terminology fixes:
  • Changed "Devrev" to "DevRev"
  • Changed "RevOrg" to "workspace"
  • Changed "snapin" to "snap-in"
  1. Style fixes:
  • Corrected sentence case in headings
  • Added periods to list items that are complete sentences
  • Removed redundant periods from single-phrase items
  • Made list items parallel in structure
  • Combined some installation steps to make them more meaningful
  • Fixed US English spelling ("organisation" to "organization")
  • Made instruction steps clearer and more action-oriented
  • Moved conditions to the front of instruction steps where applicable
  • Ensured consistent technical vocabulary throughout

Comment on lines 7 to 10
- Automated Incident Creation: When an incident is triggered in Datadog, the snap-in automatically creates a corresponding incident in DevRev.
- Automated Incident Updation: When an incident is updated in Datadog, the changes are reflected in DevRev.
- Real-Time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Real-time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Seamless integration: The snap-in is built to streamline workflows, minimizing the need for manual intervention.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
- Automated Incident Creation: When an incident is triggered in Datadog, the snap-in automatically creates a corresponding incident in DevRev.
- Automated Incident Updation: When an incident is updated in Datadog, the changes are reflected in DevRev.
- Real-Time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Real-time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Seamless integration: The snap-in is built to streamline workflows, minimizing the need for manual intervention.
- Automated incident creation from Datadog triggers
- Automated incident updates from Datadog changes
- Real-time synchronization between systems
- Seamless workflow integration

@@ -6,7 +6,7 @@ This integration links Datadog's monitoring system with Devrev's incident manage

- Automated Incident Creation: When an incident is triggered in Datadog, the snap-in automatically creates a corresponding incident in DevRev.
- Automated Incident Updation: When an incident is updated in Datadog, the changes are reflected in DevRev.
- Real-Time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Real-time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Seamless integration: The snap-in is built to streamline workflows, minimizing the need for manual intervention.

### Installing the Snap-in
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
### Installing the Snap-in
### Install the snap-in

@bc-devrev bc-devrev added the No EkLine Skip EkLine automated QA label Apr 1, 2025
@bc-devrev
Copy link
Contributor Author

✨ Comment from AI reviewer ✨

I'll analyze the document and make necessary revisions according to the style rules. Here are the violations I fixed:

  1. Standardized company name "Devrev" to "DevRev"
  2. Changed "snap-in" formatting to use hyphen consistently
  3. Fixed parallel structure in System Features list
  4. Removed unnecessary end punctuation from single-phrase list items
  5. Made installation and configuration steps more meaningful by combining related actions
  6. Fixed capitalization in headings to use sentence case
  7. Improved some awkward phrasing for clarity and professionalism
  8. Standardized terminology according to the provided list
  9. Fixed formatting inconsistencies

Copy link
Contributor

github-actions bot commented Apr 1, 2025

Comment on lines 7 to 10
- Automated Incident Creation: When an incident is triggered in Datadog, the snap-in automatically creates a corresponding incident in DevRev.
- Automated Incident Updation: When an incident is updated in Datadog, the changes are reflected in DevRev.
- Real-Time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Real-time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Seamless integration: The snap-in is built to streamline workflows, minimizing the need for manual intervention.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
- Automated Incident Creation: When an incident is triggered in Datadog, the snap-in automatically creates a corresponding incident in DevRev.
- Automated Incident Updation: When an incident is updated in Datadog, the changes are reflected in DevRev.
- Real-Time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Real-time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Seamless integration: The snap-in is built to streamline workflows, minimizing the need for manual intervention.
- Automated incident creation: Creates corresponding incidents in DevRev when triggered in Datadog
- Automated incident updates: Reflects Datadog incident changes in DevRev
- Real-time synchronization: Ensures immediate creation and updates of incidents to reduce detection-to-resolution delays
- Seamless integration: Streamlines workflows to minimize manual intervention

@@ -6,7 +6,7 @@ This integration links Datadog's monitoring system with Devrev's incident manage

- Automated Incident Creation: When an incident is triggered in Datadog, the snap-in automatically creates a corresponding incident in DevRev.
- Automated Incident Updation: When an incident is updated in Datadog, the changes are reflected in DevRev.
- Real-Time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Real-time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Seamless integration: The snap-in is built to streamline workflows, minimizing the need for manual intervention.

### Installing the Snap-in
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
### Installing the Snap-in
### Install the snap-in

@bc-devrev
Copy link
Contributor Author

✨ Comment from AI reviewer ✨

I'll analyze the document and make necessary revisions according to the style rules. Here are the violations I fixed:

  1. Terminology fixes:
  • Changed "Devrev" to "DevRev"
  • Changed "snapin" to "snap-in"
  • Changed "RevOrg" instances to "workspace"
  1. Style/Grammar fixes:
  • Fixed capitalization in headings to sentence case
  • Added periods to list items that contain verbs
  • Improved parallel structure in feature list
  • Corrected some punctuation and spacing issues
  • Fixed "Updation" to "Update" (non-standard English word)
  • Removed unnecessary capitalization of common nouns
  • Made instruction steps more meaningful by combining related actions
  • Ensured consistent technical vocabulary

Comment on lines 7 to 10
- Automated Incident Creation: When an incident is triggered in Datadog, the snap-in automatically creates a corresponding incident in DevRev.
- Automated Incident Updation: When an incident is updated in Datadog, the changes are reflected in DevRev.
- Real-Time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Real-time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Seamless integration: The snap-in is built to streamline workflows, minimizing the need for manual intervention.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
- Automated Incident Creation: When an incident is triggered in Datadog, the snap-in automatically creates a corresponding incident in DevRev.
- Automated Incident Updation: When an incident is updated in Datadog, the changes are reflected in DevRev.
- Real-Time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Real-time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Seamless integration: The snap-in is built to streamline workflows, minimizing the need for manual intervention.
- Automated incident creation: The snap-in creates corresponding incidents in DevRev when triggered in Datadog.
- Automated incident updates: Changes in Datadog incidents are automatically reflected in DevRev.
- Real-time synchronization: Incidents are created or updated in real-time, reducing delays between detection and resolution.
- Seamless integration: The workflow design minimizes manual intervention requirements.

@@ -6,7 +6,7 @@ This integration links Datadog's monitoring system with Devrev's incident manage

- Automated Incident Creation: When an incident is triggered in Datadog, the snap-in automatically creates a corresponding incident in DevRev.
- Automated Incident Updation: When an incident is updated in Datadog, the changes are reflected in DevRev.
- Real-Time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Real-time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Seamless integration: The snap-in is built to streamline workflows, minimizing the need for manual intervention.

### Installing the Snap-in
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
### Installing the Snap-in
### Set up the snap-in

Copy link
Contributor

github-actions bot commented Apr 1, 2025

Comment on lines 7 to 10
- Automated Incident Creation: When an incident is triggered in Datadog, the snap-in automatically creates a corresponding incident in DevRev.
- Automated Incident Updation: When an incident is updated in Datadog, the changes are reflected in DevRev.
- Real-Time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Real-time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Seamless integration: The snap-in is built to streamline workflows, minimizing the need for manual intervention.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
- Automated Incident Creation: When an incident is triggered in Datadog, the snap-in automatically creates a corresponding incident in DevRev.
- Automated Incident Updation: When an incident is updated in Datadog, the changes are reflected in DevRev.
- Real-Time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Real-time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Seamless integration: The snap-in is built to streamline workflows, minimizing the need for manual intervention.
- Automated incident creation from Datadog triggers
- Automated incident updates synchronized from Datadog changes
- Real-time synchronization between platforms
- Seamless workflow integration with minimal manual intervention

@@ -6,7 +6,7 @@ This integration links Datadog's monitoring system with Devrev's incident manage

- Automated Incident Creation: When an incident is triggered in Datadog, the snap-in automatically creates a corresponding incident in DevRev.
- Automated Incident Updation: When an incident is updated in Datadog, the changes are reflected in DevRev.
- Real-Time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Real-time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Seamless integration: The snap-in is built to streamline workflows, minimizing the need for manual intervention.

### Installing the Snap-in
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
### Installing the Snap-in
### Configure and install the snap-in

@bc-devrev
Copy link
Contributor Author

✨ Comment from AI reviewer ✨

I'll analyze the document and make necessary revisions according to the style rules. Here are the violations I fixed:

  1. Terminology fixes:
  • Changed "Devrev" to "DevRev"
  • Changed "RevOrg" to "workspace"
  • Changed "snapin" to "snap-in"
  1. Style fixes:
  • Changed "Updation" (non-standard) to "Updates"
  • Adjusted list item punctuation according to rules
  • Made instruction steps more meaningful by combining related actions
  • Ensured parallel structure in feature list
  • Fixed inconsistent capitalization in headings
  • Removed redundant bullet points in the webhook payload section
  • Fixed British spelling "organisation" to American "organization"

I made suggestions where possible but couldn't add them everywhere. My complete revision is below.

Full text
# DataDog Snap-in

This integration links Datadog's monitoring system with DevRev's incident management, simplifying the process of managing workspace incidents triggered by Datadog alerts. It automatically generates new incidents and updates existing incidents in DevRev using data from Datadog, allowing your organization to address issues efficiently without manual tracking.

### System features

- Automated incident creation from Datadog triggers
- Automated incident updates synchronized from Datadog changes
- Real-time synchronization between platforms
- Seamless workflow integration with minimal manual intervention

### Configure and install the snap-in

1. In the DevRev marketplace, locate and install the DataDog snap-in for your workspace.

2. In the DevRev app, navigate to Settings > Snap-ins > Connections to set up the integration:
    1. Create a new connection or select an existing one.
    2. Select DataDog from the connection type dropdown.
    3. Enter a connection name and provide your DataDog API key, application key, and environment (prod/dev).

3. Configure the snap-in settings:
    1. Navigate to Snap-ins > All snap-ins > DataDog > Configure.
    2. Select your previously created connection.
    3. Enter the default owner, part, and severity values for incidents.
    4. Define the stage mapping between DataDog and DevRev.
    5. Save and install the configuration.

4. Set up the webhook in DataDog:
    1. Copy the webhook URL from the DevRev configuration.
    2. Add the following fields to the payload section:
        - `"aggreg_key": "$AGGREG_KEY"`
        - `"alert_metric": "$ALERT_METRIC"`
        - `"alert_query": "$ALERT_QUERY"`
    3. Complete the integration by clicking Install Integration or Update Configuration.

### References

- [DataDog DevRev snap-in marketplace listing](https://marketplace.devrev.ai/datadog-snapin)
- [DataDog DevRev snap-in documentation](https://devrev.ai/docs/integrations/datadog)
- [DataDog API](https://docs.datadoghq.com/api/latest/)

Copy link
Contributor

github-actions bot commented Apr 1, 2025

@bc-devrev
Copy link
Contributor Author

✨ Comment from AI reviewer ✨

I'll analyze the document and make necessary revisions according to the provided rules. Here are the violations I fixed:

  1. Brand name consistency: Changed "Devrev" to "DevRev" per terminology list
  2. Term consistency: Changed "snapin" to "snap-in" per terminology list
  3. Fixed parallel structure in System Features list - made all items start with noun phrases
  4. Added periods to list items that contain complete sentences
  5. Removed unnecessary capitalization in headings
  6. Fixed some British English spellings ("organisation") to US English
  7. Made instruction steps more meaningful by combining related actions
  8. Improved sentence structure and clarity in several places

I made suggestions where possible but couldn't add them everywhere. My complete revision is below.

Full text
# DataDog Snap-in

This integration links Datadog's monitoring system with DevRev's incident management, simplifying the process of managing workspace incidents triggered by Datadog alerts. It automatically generates new incidents and updates existing incidents in DevRev using data from Datadog, allowing your organization to address issues efficiently without manual tracking.

### System features

- Incident creation automation: The snap-in automatically creates corresponding incidents in DevRev when triggered in Datadog.
- Incident update synchronization: All Datadog incident updates are automatically reflected in DevRev.
- Real-time processing: The snap-in processes incident creation and updates immediately to reduce delays between detection and resolution.
- Workflow integration: Built-in automation eliminates the need for manual intervention in routine tasks.

### Install the snap-in

1. Navigate to the DevRev marketplace and install the Datadog snap-in.
2. In the installation dialog, select your target workspace and click "Deploy snap-in."
3. Configure the connection settings:
    1. Navigate to Settings > Snap-ins > Connections.
    2. Create a new connection by clicking "+ Connection" or select an existing one.
    3. Select "Datadog" from the provider list and enter a connection name.
    4. Enter your Datadog API key, application key, and environment (prod/dev).

### Configure integration settings

1. Access the configuration page at Snap-ins > All snap-ins > Datadog > Configure.
2. In the Connections tab, select your previously created connection.
3. Enter the required incident settings:
    1. Specify the default owner and part.
    2. Set the default severity value.
    3. Configure the stage mapping between Datadog and DevRev.
4. Save the configuration and install the integration.
5. Set up the webhook in Datadog:
    1. Copy the provided webhook URL from DevRev.
    2. Add the following fields to the payload section:
        - `"aggreg_key": "$AGGREG_KEY"`
        - `"alert_metric": "$ALERT_METRIC"`
        - `"alert_query": "$ALERT_QUERY"`
    3. Complete the installation by clicking "Install Integration" or "Update Configuration."

### References

- [Datadog snap-in marketplace listing](https://marketplace.devrev.ai/datadog-snapin)
- [Datadog DevRev snap-in documentation](https://devrev.ai/docs/integrations/datadog)
- [Datadog API](https://docs.datadoghq.com/api/latest/)

Copy link
Contributor

github-actions bot commented Apr 2, 2025

Comment on lines 7 to 10
- Automated Incident Creation: When an incident is triggered in Datadog, the snap-in automatically creates a corresponding incident in DevRev.
- Automated Incident Updation: When an incident is updated in Datadog, the changes are reflected in DevRev.
- Real-Time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Real-time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Seamless integration: The snap-in is built to streamline workflows, minimizing the need for manual intervention.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
- Automated Incident Creation: When an incident is triggered in Datadog, the snap-in automatically creates a corresponding incident in DevRev.
- Automated Incident Updation: When an incident is updated in Datadog, the changes are reflected in DevRev.
- Real-Time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Real-time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Seamless integration: The snap-in is built to streamline workflows, minimizing the need for manual intervention.
- Automated incident creation: The snap-in creates corresponding incidents in DevRev when triggered in Datadog.
- Automated incident updates: Changes in Datadog incidents are automatically reflected in DevRev.
- Real-time synchronization: The snap-in ensures immediate creation and updates of incidents, reducing delays between detection and resolution.
- Seamless integration: The snap-in streamlines workflows by minimizing manual intervention.

@@ -6,7 +6,7 @@ This integration links Datadog's monitoring system with Devrev's incident manage

- Automated Incident Creation: When an incident is triggered in Datadog, the snap-in automatically creates a corresponding incident in DevRev.
- Automated Incident Updation: When an incident is updated in Datadog, the changes are reflected in DevRev.
- Real-Time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Real-time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Seamless integration: The snap-in is built to streamline workflows, minimizing the need for manual intervention.

### Installing the Snap-in
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
### Installing the Snap-in
### Install the snap-in

@bc-devrev
Copy link
Contributor Author

✨ Comment from AI reviewer ✨

I'll analyze the document and make necessary revisions according to the provided style rules. Here are the violations I fixed:

  1. Fixed company name "Devrev" to "DevRev" throughout
  2. Changed "RevOrg" to "workspace" per terminology
  3. Fixed "snapin" to "snap-in" per terminology
  4. Corrected capitalization in headings to sentence case
  5. Made list items parallel in structure
  6. Added periods to list items that are complete sentences
  7. Fixed spacing and formatting consistency
  8. Removed unnecessary capitalization of "API Key," "Application Key," etc.
  9. Made instructions more meaningful by combining related steps
  10. Corrected "Updation" to "Updates" (non-standard English word)

I made suggestions where possible but couldn't add them everywhere. My complete revision is below.

Full text
# DataDog Snap-in

This integration links Datadog's monitoring system with DevRev's incident management, simplifying the process of managing workspace incidents triggered by Datadog alerts. It automatically generates new incidents and updates existing incidents in DevRev using data from Datadog, allowing your organization to address issues efficiently without manual tracking.

### System features

- Automated incident creation: The snap-in creates corresponding incidents in DevRev when triggered in Datadog.
- Automated incident updates: Changes in Datadog incidents are automatically reflected in DevRev.
- Real-time synchronization: The snap-in ensures immediate creation and updates of incidents, reducing delays between detection and resolution.
- Seamless integration: The snap-in streamlines workflows by minimizing manual intervention.

### Install the snap-in

1. Navigate to the DevRev marketplace and install the Datadog snap-in.
2. In the installation dialog, select your workspace and click "Deploy snap-in."
3. Configure the connection in the DevRev app:
    1. Navigate to Settings > Snap-ins > Connections.
    2. Create a new connection or select an existing one.
    3. Select Datadog from the dropdown list.
    4. Enter a connection name and provide your Datadog api key, application key, and environment (prod/dev).

### Configure the integration

1. Navigate to Snap-ins > All snap-ins > Datadog > Configure.
2. Select your previously created connection.
3. Configure the required settings:
    1. Specify the default owner, part, and severity value for incidents.
    2. Set up the stage mapping between Datadog and DevRev.
4. Save your configuration and click "Install."
5. Set up the Datadog webhook:
    1. Copy the provided webhook URL.
    2. Add the following fields to the payload section:
        1. `"aggreg_key": "$AGGREG_KEY"`
        2. `"alert_metric": "$ALERT_METRIC"`
        3. `"alert_query": "$ALERT_QUERY"`
    3. Complete the integration by clicking "Install integration" or "Update configuration."

### References

- [Datadog DevRev snap-in marketplace listing](https://marketplace.devrev.ai/datadog-snapin)
- [Datadog DevRev snap-in documentation](https://devrev.ai/docs/integrations/datadog)
- [Datadog API](https://docs.datadoghq.com/api/latest/)

Copy link
Contributor

github-actions bot commented Apr 2, 2025

@bc-devrev bc-devrev marked this pull request as ready for review April 2, 2025 13:57
@bc-devrev bc-devrev requested a review from a team as a code owner April 2, 2025 13:57
Copy link
Contributor

github-actions bot commented Apr 2, 2025

Copy link
Contributor

github-actions bot commented Apr 2, 2025

Comment on lines 7 to 10
- Automated Incident Creation: When an incident is triggered in Datadog, the snap-in automatically creates a corresponding incident in DevRev.
- Automated Incident Updation: When an incident is updated in Datadog, the changes are reflected in DevRev.
- Real-Time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Real-time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Seamless integration: The snap-in is built to streamline workflows, minimizing the need for manual intervention.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
- Automated Incident Creation: When an incident is triggered in Datadog, the snap-in automatically creates a corresponding incident in DevRev.
- Automated Incident Updation: When an incident is updated in Datadog, the changes are reflected in DevRev.
- Real-Time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Real-time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Seamless integration: The snap-in is built to streamline workflows, minimizing the need for manual intervention.
- Automated incident creation: The snap-in creates corresponding incidents in DevRev when triggered in Datadog.
- Automated incident updates: Changes in Datadog incidents are automatically reflected in DevRev.
- Real-time synchronization: The snap-in ensures immediate creation and updates of incidents, reducing delays between detection and resolution.
- Seamless integration: Built-in workflow optimization minimizes manual intervention requirements.

@@ -6,7 +6,7 @@ This integration links Datadog's monitoring system with Devrev's incident manage

- Automated Incident Creation: When an incident is triggered in Datadog, the snap-in automatically creates a corresponding incident in DevRev.
- Automated Incident Updation: When an incident is updated in Datadog, the changes are reflected in DevRev.
- Real-Time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Real-time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Seamless integration: The snap-in is built to streamline workflows, minimizing the need for manual intervention.

### Installing the Snap-in
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
### Installing the Snap-in
### Install the snap-in

@bc-devrev
Copy link
Contributor Author

✨ Comment from AI reviewer ✨

I'll analyze the document and make necessary revisions according to the style rules. Here are the violations I fixed:

  1. Terminology fixes:
  • Changed "Devrev" to "DevRev"
  • Changed "RevOrg" to "workspace"
  • Changed "snapin" to "snap-in"
  1. Style fixes:
  • Corrected sentence case in headings
  • Made list items parallel in structure
  • Added proper punctuation to list items
  • Removed unnecessary capitalization (e.g., "API Key" to "API key")
  • Fixed inconsistent spelling ("Updation" is not standard English)
  • Made instruction steps more meaningful by combining related actions

I made suggestions where possible but couldn't add them everywhere. My complete revision is below.

Full text
# DataDog Snap-in

This integration links Datadog's monitoring system with DevRev's incident management, simplifying the process of managing workspace incidents triggered by Datadog alerts. It automatically generates new incidents and updates existing incidents in DevRev using data from Datadog, allowing your organization to address issues efficiently without manual tracking.

### System features

- Automated incident creation: The snap-in creates corresponding incidents in DevRev when triggered in Datadog.
- Automated incident updates: Changes in Datadog incidents are automatically reflected in DevRev.
- Real-time synchronization: The snap-in ensures immediate creation and updates of incidents, reducing delays between detection and resolution.
- Seamless integration: Built-in workflow optimization minimizes manual intervention requirements.

### Install the snap-in

1. Navigate to the DevRev marketplace and install the Datadog snap-in.
2. Select your target workspace and deploy the snap-in.
3. In the DevRev application, configure the connection by navigating to Settings > Snap-ins > Connections.
    1. Create a new connection or select an existing one.
    2. Select Datadog from the available options.
    3. Enter a connection name and provide your Datadog API key, application key, and environment (prod/dev).

### Configure the integration

1. Navigate to Snap-ins > All snap-ins > Datadog > Configure.
2. Select your previously created connection.
3. Enter the required default values for incident owner, part, and severity.
4. Configure the stage mapping between Datadog and DevRev.
5. Save your configuration and click Install.
6. Copy the webhook URL and configure it in Datadog with the following payload elements:
    1. Add `"aggreg_key": "$AGGREG_KEY"`
    2. Add `"alert_metric": "$ALERT_METRIC"`
    3. Add `"alert_query": "$ALERT_QUERY"`
    4. Complete the integration by clicking Install integration or Update configuration.

### References

- [Datadog DevRev snap-in marketplace listing](https://marketplace.devrev.ai/datadog-snapin)
- [Datadog DevRev snap-in documentation](https://devrev.ai/docs/integrations/datadog)
- [Datadog API](https://docs.datadoghq.com/api/latest/)

Copy link
Contributor

github-actions bot commented Apr 2, 2025

Comment on lines 7 to 10
- Automated Incident Creation: When an incident is triggered in Datadog, the snap-in automatically creates a corresponding incident in DevRev.
- Automated Incident Updation: When an incident is updated in Datadog, the changes are reflected in DevRev.
- Real-Time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Real-time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Seamless integration: The snap-in is built to streamline workflows, minimizing the need for manual intervention.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
- Automated Incident Creation: When an incident is triggered in Datadog, the snap-in automatically creates a corresponding incident in DevRev.
- Automated Incident Updation: When an incident is updated in Datadog, the changes are reflected in DevRev.
- Real-Time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Real-time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Seamless integration: The snap-in is built to streamline workflows, minimizing the need for manual intervention.
- Creates incidents in DevRev automatically when triggered in DataDog.
- Updates incident details in DevRev when changes occur in DataDog.
- Synchronizes incident data in real-time between systems.
- Streamlines workflows by minimizing manual intervention.

@@ -6,7 +6,7 @@ This integration links Datadog's monitoring system with Devrev's incident manage

- Automated Incident Creation: When an incident is triggered in Datadog, the snap-in automatically creates a corresponding incident in DevRev.
- Automated Incident Updation: When an incident is updated in Datadog, the changes are reflected in DevRev.
- Real-Time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Real-time Synchronization: The snap-in ensures that incidents are created or updated in real-time, reducing delays between detection and resolution. DevRev captures the necessary incident details from the Datadog payload, allowing teams to address and mitigate issues.
- Seamless integration: The snap-in is built to streamline workflows, minimizing the need for manual intervention.

### Installing the Snap-in
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
### Installing the Snap-in
### Install the snap-in

@bc-devrev
Copy link
Contributor Author

✨ Comment from AI reviewer ✨

I'll analyze the document and make necessary revisions according to the style rules. Here are the violations I fixed:

  1. Terminology fixes:
  • Changed "Devrev" to "DevRev"
  • Changed "RevOrg" to "workspace"
  • Changed "snapin" to "snap-in"
  1. Style/grammar fixes:
  • Fixed capitalization in headings to sentence case
  • Ensured parallel structure in lists
  • Combined some installation steps to make them more meaningful
  • Added proper punctuation to list items
  • Fixed some British English spellings ("organisation") to American English
  • Removed redundant sentences and made language more concise
  • Fixed inconsistent terminology usage

I made suggestions where possible but couldn't add them everywhere. My complete revision is below.

Full text
# DataDog Snap-in

This integration links DataDog's monitoring system with DevRev's incident management, simplifying the process of managing workspace incidents triggered by DataDog alerts. It automatically generates new incidents and updates existing incidents in DevRev using data from DataDog, allowing your organization to address issues efficiently without manual tracking.

### System features

- Creates incidents in DevRev automatically when triggered in DataDog.
- Updates incident details in DevRev when changes occur in DataDog.
- Synchronizes incident data in real-time between systems.
- Streamlines workflows by minimizing manual intervention.

### Install the snap-in

1. Navigate to the DevRev marketplace and install the DataDog snap-in.
2. Select your target workspace and deploy the snap-in.
3. In the DevRev app, configure the connection under Settings > Snap-ins > Connections:
    1. Search for an existing connection or create a new one.
    2. Select DataDog from the connection type dropdown.
    3. Enter a connection name and provide your DataDog API key, application key, and environment (prod/dev).

### Configure the integration

1. Navigate to Snap-ins > All snap-ins > DataDog > Configure.
2. Select your previously created connection.
3. Configure the required settings:
    1. Set the default owner, part, and severity value for incidents.
    2. Map the stages between DataDog and DevRev.
4. Save your configuration and install the integration.
5. Set up the webhook in DataDog:
    1. Copy the webhook URL from DevRev.
    2. Add the following fields to the payload section:
        - `"aggreg_key": "$AGGREG_KEY"`
        - `"alert_metric": "$ALERT_METRIC"`
        - `"alert_query": "$ALERT_QUERY"`
    3. Complete the integration installation or update the configuration.

### References

- [DataDog DevRev snap-in marketplace listing](https://marketplace.devrev.ai/datadog-snapin)
- [DataDog DevRev snap-in documentation](https://devrev.ai/docs/integrations/datadog)
- [DataDog API](https://docs.datadoghq.com/api/latest/)

@bc-devrev bc-devrev merged commit 4325cc4 into main Apr 2, 2025
5 checks passed
@bc-devrev bc-devrev deleted the bc/check-ISS-157878 branch April 2, 2025 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
No EkLine Skip EkLine automated QA stylecheck Revise markdown files according to DevRev style guidelines stylecheck-complete
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants