Skip to content
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

[SIEMINT-84] DDSaaS: RingCentral: Crawler Integration v1.0.0 #18296

Merged

Conversation

vrajpatel-crest
Copy link
Contributor

@vrajpatel-crest vrajpatel-crest commented Aug 12, 2024

What does this PR do?

This is an initial release PR of RingCentral integration including all the required assets.

Additional Notes

  • Crawler code for this integration has been committed in its respective repo
  • Pipeline and Facet group created for this integration are available in our sandbox and would be shared separately with the required teams.
  • Samples for the pipeline review would also be shared separately with the required teams.
  • Since during the standard attribute remapping we are not preserving the source attributes as per suggested best practices, it would result in filters using these standard attributes populating the values of other integrations as well as per current Datadog behaviour.

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Changelog entries must be created for modifications to shipped code
  • 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

@vrajpatel-crest vrajpatel-crest marked this pull request as ready for review August 12, 2024 18:17
@vrajpatel-crest vrajpatel-crest requested review from a team as code owners August 12, 2024 18:17
@cswatt cswatt added the editorial review Waiting on a more in-depth review from a docs team editor label Aug 12, 2024
@cswatt
Copy link
Contributor

cswatt commented Aug 12, 2024

Added DOCS-8695 for docs to review

# RingCentral

## Overview
The RingCentral integration seamlessly collects Voice, Audit, A2P SMS and Voice(Analytics) data and ingests them into Datadog for comprehensive analysis. Leveraging the built-in logs pipeline, these logs are parsed and enriched, enabling effortless search and analysis. The integration empowers users with deep insights into call activities, SMS trends, and audit trails through intuitive, out-of-the-box dashboards. Additionally, it includes pre-configured monitors for proactive notifications on SMS budget overrun and SMS error rates.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
The RingCentral integration seamlessly collects Voice, Audit, A2P SMS and Voice(Analytics) data and ingests them into Datadog for comprehensive analysis. Leveraging the built-in logs pipeline, these logs are parsed and enriched, enabling effortless search and analysis. The integration empowers users with deep insights into call activities, SMS trends, and audit trails through intuitive, out-of-the-box dashboards. Additionally, it includes pre-configured monitors for proactive notifications on SMS budget overrun and SMS error rates.
The RingCentral integration seamlessly collects Voice, Audit, A2P SMS, and Voice(Analytics) data and ingests them into Datadog for comprehensive analysis. Leveraging the built-in logs pipeline, these logs are parsed and enriched, enabling effortless search and analysis. Through intuitive, out-of-the-box dashboards the integration provides insights into call activities, SMS trends, and audit trails. Additionally, it includes pre-configured monitors for proactive notifications on SMS budget overrun and SMS error rates.

Copy link
Contributor

Choose a reason for hiding this comment

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

I have updated the changes as per your suggestion.

- Voice (Analytics)
- A2P SMS

## Setup
Copy link
Contributor

Choose a reason for hiding this comment

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

I created a PR to address some suggestions for formatting this page: bhargavnariyanicrest#1
Mainly, I moved some of the content around for information flow and formatted the instructions so that all actions were on the same level. I didn't verify these against the RingCentral UI, so let me know if the suggestions are incorrect!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@estherk15 Thanks for the PR. There were some formatting issues in the table that we have fixed, along with other changes. Let me know if any further changes are needed.

@@ -0,0 +1,589 @@
{
"title": "RingCentral Audit",
"description": "The RingCentral Audit dashboard provides a detailed examination of activity within the RingCentral account. It includes the total number of audit logs, highlighting frequent and infrequent actions and detailed insights into audit activities.",
Copy link
Contributor

Choose a reason for hiding this comment

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

I wasn't sure if it was highlighting frequent and infrequent audit logs, or if frequent and infrequent actions was a separate feature of the dashboard.

Suggested change
"description": "The RingCentral Audit dashboard provides a detailed examination of activity within the RingCentral account. It includes the total number of audit logs, highlighting frequent and infrequent actions and detailed insights into audit activities.",
"description": "The RingCentral Audit dashboard provides a detailed examination of activity within the RingCentral account. It includes the total number of audit logs (highlighting frequent and infrequent actions), and detailed insights into audit activities.",

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 three separate panels in the dashboard: Total number of audit logs, Frequent audit logs and Infrequent audit logs. So, I have updated the description accordingly. Please let me know if any additional changes are needed.

"id": 727466998845956,
"definition": {
"type": "note",
"content": "**Dashboard Overview**\n\nThe RingCentral Audit dashboard provides a detailed examination of activity within the RingCentral account. It includes the total number of audit logs, highlighting frequent and infrequent actions and detailed insights into audit activities.\n\nFor more information, see the [RingCentral Integration Documentation](https://docs.datadoghq.com/integrations/ringcentral/).\n\n**Tips**\n- Use the timeframe selector in the top right of the dashboard to change the default timeframe.\n- Clone this dashboard to rearrange, modify and add widgets and visualizations.",
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here, can you clarify if frequent and infrequent actions are part of log actions or a separate feature?

Copy link
Contributor

Choose a reason for hiding this comment

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

Both Frequent and infrequent audit logs are part of log actions only, but they are displayed in two separate panels.

@@ -0,0 +1,907 @@
{
"title": "RingCentral Message",
"description": "The Message Dashboard delivers an in-depth look at A2P SMS metrics within RingCentral, focusing on performance, costs, and message delivery status and provides valuable insights, aiding in effective decision-making and operational efficiency.",
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"description": "The Message Dashboard delivers an in-depth look at A2P SMS metrics within RingCentral, focusing on performance, costs, and message delivery status and provides valuable insights, aiding in effective decision-making and operational efficiency.",
"description": "The Message Dashboard delivers an in-depth look at A2P SMS metrics within RingCentral, focusing on performance, costs, and message delivery status. It provides valuable insights, to help you make effective decision and improve operational efficiency.",

Copy link
Contributor

Choose a reason for hiding this comment

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

Updated the changes as per your suggestion.

"version": 2,
"created_at": "2024-08-07",
"last_updated_at": "2024-08-07",
"title": "[RingCentral] SMS budget overrun",
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"title": "[RingCentral] SMS budget overrun",
"title": "SMS budget overrun",

Copy link
Contributor

Choose a reason for hiding this comment

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

Changes have been done as per your suggestion.

"created_at": "2024-08-07",
"last_updated_at": "2024-08-07",
"title": "[RingCentral] SMS budget overrun",
"description": "The monitor tracks and alerts when the daily budget allocated for RingCentral SMS messages is exceeded. It provides notifications to ensure timely awareness and action can be taken to manage SMS usage within the allocated budget limits.",
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"description": "The monitor tracks and alerts when the daily budget allocated for RingCentral SMS messages is exceeded. It provides notifications to ensure timely awareness and action can be taken to manage SMS usage within the allocated budget limits.",
"description": "The monitor tracks and alerts when the total cost for RingCentral SMS messages exceeds the daily allocated budget. It provides notifications to ensure timely awareness and action can be taken to manage SMS usage within the allocated budget limits.",

Copy link
Contributor

Choose a reason for hiding this comment

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

I have applied the changes as per your suggestion.

"name": "[RingCentral] SMS budget overrun",
"type": "query alert",
"query": "sum(last_1mo):sum:ringcentral.message.cost_total{*} by {accountid}.as_count() > 500",
"message": "{{#is_alert}}\nThe budget allocated for RingCentral SMS has been exceeded the alert threshold.\nThe total cost incurred is {{value}} , which exceeds the threshold of {{threshold}} . Please review your RingCentral account.\n{{/is_alert}}\n\n{{#is_warning}}\nThe budget allocated for RingCentral SMS has been exceeded the warning threshold.\nThe total cost incurred is {{value}} , which exceeds the threshold of {{warn_threshold}} . Please review your RingCentral account.\n{{/is_warning}}",
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"message": "{{#is_alert}}\nThe budget allocated for RingCentral SMS has been exceeded the alert threshold.\nThe total cost incurred is {{value}} , which exceeds the threshold of {{threshold}} . Please review your RingCentral account.\n{{/is_alert}}\n\n{{#is_warning}}\nThe budget allocated for RingCentral SMS has been exceeded the warning threshold.\nThe total cost incurred is {{value}} , which exceeds the threshold of {{warn_threshold}} . Please review your RingCentral account.\n{{/is_warning}}",
"message": "{{#is_alert}}\nThe total cost for RingCentral SMS has exceeded the alert threshold.\nThe total cost incurred is {{value}} , which exceeds the threshold of {{threshold}} . Please review your RingCentral account.\n{{/is_alert}}\n\n{{#is_warning}}\nThe total cost for RingCentral SMS has exceeded the warning threshold.\nThe total cost incurred is {{value}} , which exceeds the threshold of {{warn_threshold}} . Please review your RingCentral account.\n{{/is_warning}}",

Copy link
Contributor

Choose a reason for hiding this comment

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

Updated the changes as per your suggestion.

"version": 2,
"created_at": "2024-08-07",
"last_updated_at": "2024-08-07",
"title": "[RingCentral] SMS high error rate detected",
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"title": "[RingCentral] SMS high error rate detected",
"title": "SMS error rate is higher than usual",

Copy link
Contributor

Choose a reason for hiding this comment

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

Changes done as per your suggestion.

"created_at": "2024-08-07",
"last_updated_at": "2024-08-07",
"title": "[RingCentral] SMS high error rate detected",
"description": "This monitor triggers an alert when a high error rate occurs while sending SMS through RingCentral. This ensures prompt attention to potential issues affecting SMS delivery reliability.",
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you provide extra context around the failure mode and also about the impact this mode can have on the system. This description should allow users to understand at a glance whether it is relevant or not for them to create a monitor out of it. For an example, see this guide.

Suggested change
"description": "This monitor triggers an alert when a high error rate occurs while sending SMS through RingCentral. This ensures prompt attention to potential issues affecting SMS delivery reliability.",
"description": "This monitor triggers an alert when a high error rate occurs while sending SMS through RingCentral. This ensures prompt attention to potential issues affecting SMS delivery reliability.",

Copy link
Contributor

Choose a reason for hiding this comment

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

I have applied the changes accordingly.

@dj0well dj0well changed the title DDSaaS: RingCentral: Crawler Integration v1.0.0 [SIEMINT-84] DDSaaS: RingCentral: Crawler Integration v1.0.0 Aug 19, 2024
@vrajpatel-crest vrajpatel-crest marked this pull request as draft August 23, 2024 13:01
@vrajpatel-crest vrajpatel-crest marked this pull request as ready for review August 30, 2024 10:05
@vrajpatel-crest vrajpatel-crest requested a review from a team as a code owner August 30, 2024 10:05
estherk15
estherk15 previously approved these changes Sep 5, 2024
Copy link
Contributor

@estherk15 estherk15 left a comment

Choose a reason for hiding this comment

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

Thanks for making those changes, approved for documentation!

ringcentral/README.md Outdated Show resolved Hide resolved
@MatthewMSaucedo MatthewMSaucedo added the assets/deploy-logs-staging ONLY USED BY Logs Backend - Validates that a PR is OK to go to staging label Sep 9, 2024
Copy link

@MatthewMSaucedo MatthewMSaucedo left a comment

Choose a reason for hiding this comment

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

Screen.Recording.2024-09-13.at.1.25.08.PM.mov
Screen.Recording.2024-09-13.at.1.25.42.PM.mov

LGTM

@BoyangHuang BoyangHuang merged commit 8d5b9cd into DataDog:master Oct 15, 2024
48 of 49 checks passed
github-actions bot pushed a commit that referenced this pull request Oct 15, 2024
* RingCentral Crawler integration with assets

* Resolved assets check error

* Sorted metadata.csv by metric name

* README changes suggestions for documentation review

* pipeline and sample result changes as per the change in log structure

* fixed pipeline failure

* addressed review comments

* modified source_type_name in manifest.json file

* Updated CHANGELOG.md title

* Update ringcentral/README.md

Co-authored-by: Esther Kim <[email protected]>

* addressed review comments related to extension.id

* changes as per checks failure

* adding changes for result section to fix the check

* Change to extension id

---------

Co-authored-by: Akshit Vaid <[email protected]>
Co-authored-by: Esther Kim <[email protected]>
Co-authored-by: Esther Kim <[email protected]> 8d5b9cd
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.

7 participants