Dreamforce 24 - Save the day by monitoring your org with open-source tools.pdf

NicolasVuillamy 3,188 views 27 slides Sep 20, 2024
Slide 1
Slide 1 of 27
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27

About This Presentation

Slides of Dreamforce 24 session :)

More info here: https://sfdx-hardis.cloudity.com/salesforce-monitoring-home/


Slide Content

Nicolas Vuillamy, CTO
Cloudity

Olga Shirokova, Sr. Consultant
Cloudmuscle
Save the Day by
Monitoring Your Org
with Open-Source Tools
..

Thank you
..

Heroes and Zeroes in Action!


Casandra
Fortune Teller
Live Drama: Production Org is Broken!
Admiral
Admin
Bubbles
Release Manager
I can see the
future but not
the past…
I did not
change any
config…
Let’s
investigate!

What might have happened?
●Someone directly created/updated/deleted setup
configuration in the Production
○Flow
○Data model
○Validation rules
○Custom metadata
○Permissions
●Something else changed in Setup
●Someone deployed something to production
Bubbles
Release Manager
So many things
could’ve gone wrong!

I need to figure out
and find a solution
fast!
.

sfdx-hardis
Monitoring to the
Rescue!
FREE and open-source !!!

Monitoring: What is It?
Logs as JSON & files
to external tools
Monitoring
Job
SF Org
daily
schedule
metadata backup
notifications
reports &

Quick & Easy Installation
Follow a video tutorial
●Create a repo on a Git Provider




●Configure notifications to your
preferred messaging service

Admin friendly!
No need for CI/CD!
5-minutes installation by Org

Monitoring Your
Org
Made easy…

Daily Metadata Backup
Store in Git the exact state of the metadata of your org, everyday and anyday
●Compare with previous days
●Compare with other orgs
●If CI/CD project, compare with source branches

Daily Metadata Backup
Travel in time
View exact differences
List updates
daily

Suspicious Setup Activities
Detect and display sensitive setup actions not performed by the deployment user
or the release manager, and who performed them.

Failing Test Classes

Quality & Security Checks
Enforce best practices with MegaLinter
● embedding Salesforce Code Analyzer


Apex PMD

LWC, Aura

Lightning Flow Scanner

Security scans, dependencies,
hardcoded credentials

Metadatas not used, Inactive
Flow and validation rules…

Org Limits
Get notified when any of these limits are over 50% or 75% usage

●Data Storage
●File Storage
●Daily API & Bulk API Calls





●Daily Platform Events
●Purchased Limits Extensions
●& all others!

Unused User Licenses
Get report about non-logged in users



Details in attached CSV & Excel

Release Updates + Next Upgrade
Do not forget to update your org before Winter ‘25 !



Created for Dreamforce ‘24 !

Grafana - Visualisation Web Application
Bubbles
Release Manager
Reading all
these
notifications is
so BORING…

Grafana Dashboards
All indicators in a single dashboard
BEAUTIFUL

Grafana Dashboards
Indicators Details & evolution

Takes only 20 minutes


Grafana Setup
Grafana Cloud Free Tier Forever
●3 users
●14 days retention (logs & metrics)
Click-by-click Setup Tutorial (coming soon)
14 Ready to Use Dashboards provided by sfdx-hardis
Build and Share Your Own Dashboards

Demo Time
Let’s show you how it works!

Casandra
Fortune Teller
Happy Ending
Admiral
Admin
Bubbles
Release Manager
What about
Lottery
Numbers?
Oops… Sorry, I
won’t do it
again! ??????
It’s ok! We
solved the issue
as a team ??????

SFDX-Hardis & Grafana Resources
https://qrco.de/bfLx60

Thank you

Coffee on us.
The first 4,000 attendees to provide feedback on this
event will receive a $5 Starbucks gi card.
*Restrictions apply. See rules at sforce.co/survey-terms
Open the Salesforce Events Mobile App.
Navigate to My Event.
Select My Surveys.
Complete four Session Surveys and
present the completed Event Survey
page at Badge Pickup to redeem on
Thursday, September 19.*