CRM Telemetry

Published on Dec 14, 2016

No Description

PRESENTATION OUTLINE

CRM Telemetry

Journey into Data
Photo by jurvetson

Why Telemetry?

Photo by ekkebus

Leadership

  • How is my business doing?
  • Are my customers happy with the service?
  • What features should I invest to improve my RoI?
Photo by pedrosimoes7

PM

  • Am I building the right feature?
  • Am I building it the right way?
  • Who is using my feature and how are they using
  • How is my feature functioning?

Engineering

  • What are my top 3 errors and how to fix them?
  • Do I need to add more nodes to my application?
  • Does my P95 load time is meeting SLA?
Photo by jurvetson

What is Telemetry?

  • tele = remote
  • metron = measure
  • telemetry = pipeline + data store + insights

Telemetry Components

Telemetry Pipeline

Telemetry pipelines

  • CRMOL CMA Pipeline
  • Cloud Services Pipeline
  • Insights Endpoint
  • GCC(US Government Cloud)
  • BlackForest(Deusche Cloud)
Photo by Kai Lehmann

CRMOL CMA Pipeline

  • Server side data collection
  • Built on Geneva Infra
Photo by rcbodden

Geneva Architecture

  • Server side data collection
Photo by rcbodden

CMA Architecture

What data is captured?

  • Windows Performance Counters
  • ETW events
  • IFx events
  • Windows System events
  • IIS Logs - Geo, User, Browser info
  • SQL Data Collector Component - Querying Geo, Sitewide or Org DBs
  • Extended Events - SQL Server Advanced Metrics
  • Extensions
  • Derived Events
Photo by MeckiMac

Insights REST Endpoint

  • Client Side data collection
  • MoCA/ISH/UCI
  • 30 million hits/day
  • Scalable app on Azure
Photo by kevin dooley

Cloud Services

Photo by kevin dooley

Private Cloud Pipeline

Photo by kevin dooley

Telemetry Components

Data Store
Photo by neeravbhatt

Cosmos

  • MS Internal big data store with compute
  • Cold path - for complex data processing
  • ML and DS usecases
  • Needs another data store for connecting to applications
  • Scope language
  • CAJobScheduler

Kusto

  • Azure based Log Analytics, Log Search system
  • Extremely fast and expensive(!!)
  • High ingestion rate and low latency
  • Suitable for real time debugging
  • Integrated charting
  • Can be connected to other applications
  • Avodaco Jobs

Kusto

  • 12 TB/day ingestion
  • 1 day hot path/30 day warm path

Azure DataMart

  • Azure SQL for Storing aggregated data from Kusto/Cosmos
  • Can be connected to applications
  • Scaled for large requests
Photo by trevor.patt

Telemetry Components

Insights

CRM Insights

  • Azure based web application
  • Angular JS/High charts
  • Suitable for complex charting
  • Used by leadership and non-engineering teams for status updates, all hands
Photo by Drift Words

Power BI

  • Desktop or Web
  • Quick charting
  • Internal team consumption
Photo by kevin dooley

Org Insights

  • CRM first party solution on top of Telemetry data
  • Best option to present data to customers
Photo by Au Kirk

Telemetry Components

Alerting/Monitoring

MDM Metrics

  • Hot path alerts
  • Jarvis - Manage Hot Path
Photo by oskay

AIMS Alerts

  • Warm path alerts
  • Complex queries
  • IcM, Email integration
  • Keep as a silent alert until fine tuned
Photo by debsilver

Kusto Alerts

  • Built on top of Kusto
  • Deploy in Test before Prod
Photo by artwork_rebel

Planning Telemetry

Stage 1

Telemetry Requirements
Photo by pjohnkeane

Telemetry Requirements

  • What I am going to measure?
  • How frequently I need to report?
  • Short term or long term requirement
  • Who is going to consume the data
  • Is it going to be a static data or the user will slice and dice the data
Photo by davidsilver

Telemetry Requirements

  • Do I need alerting and monitoring?
  • Do I need ML or Predictive Analytics
Photo by Marc_Smith

Stage 2

CRM Code Instrumentation
Photo by mcalamelli

CRM Code Instrumentation

  • Code Instrumentation needs to align with CRM delivery cycle
  • Plan requirements for future
  • Have columns for future

Stage 3

Telemetry Repo Changes

Telemetry Repo Changes

  • MA/MDS changes
  • OneBox testing
  • TiE testing
  • PROD deployment
  • Validation in Jarvis, Kusto, Cosmos
Photo by erin m

Stage 4

Dashboards and Charts
Photo by Drift Words

Dashboards and Chart

  • Kusto Charts
  • Cosmos Scope scripts for complex data processing - Azure Data Mart
  • Power BI or CRM Insights
  • Excel
  • Kusto Explorer
Photo by Darren Krape

Stage 5

Alerting and Monitoring

Untitled Slide

Alerting and Monitoring

  • AIMS alert/MDM
  • Kusto Alert - Validate in Test before Prod
Photo by Matt. Create.

General Telemetry Usecases

Untitled Slide

  • Feature Usage
  • Performance
  • QoS
  • Diagnostics

General Telemetry Usecases

  • Feature Usage
  • Performance
  • QoS
  • Diagnostics

Data Privacy

  • Validate data for compliance and PII with Compliance team
  • PII Data Reporting is a Sev1 issue
Photo by Alan Cleaver

Contribute

  • Ideas
  • Code
  • Features
  • Support

Contact Us - StackOverFlow

Untitled Slide

What

Contribute

Telemetry Team