devops with paas: keys for instrumentation success, futurestack17

14
DevOps with PaaS: Key for Instrumentation Success 1

Upload: new-relic

Post on 21-Jan-2018

106 views

Category:

Software


4 download

TRANSCRIPT

Page 1: DevOps with PaaS: Keys for Instrumentation Success, FutureStack17

DevOps with PaaS: Key for Instrumentation Success

1

Page 2: DevOps with PaaS: Keys for Instrumentation Success, FutureStack17

Abstract

• Instrumenting Infrastructure as a Service (IAAS) in the cloud with New Relic works well, but there is a new kid in town. Platform as a Service (PAAS) is fast becoming a preferred development platform, that is not as well known. AgileThought shows how we utilize New Relic with Azure PAAS. We take you through the pitfalls you may encounter when setting up New Relic with Azure PAAS. We discuss other tips and tricks to automate and refine your New Relic journey into Azure. We will demo these tips and tricks in Azure in real time.

2

Page 3: DevOps with PaaS: Keys for Instrumentation Success, FutureStack17

Agenda

• Intro (AT and DevOps process) with PAAS

• Instrumenting Azure PaaS applications with New Relic Overview

• Demo

3

Page 4: DevOps with PaaS: Keys for Instrumentation Success, FutureStack17

New Relic Owner’s Manual for Azure PaaS• 3 Major Owner’s Manual Sections • Application Instrumentation

• Browsers incl. SPA apps

• Customized .xml extension files

• Telemetry verification & optimization

• Automation & Deployment Mechanics • ARM templates: AppSettings & Extensions

• Pipelines: .xml creation & deployment, New Relic app registration, deployment markers, Browser injection

• WebJobs & Functions

• Monitoring & Reporting • Alerts

• Insights

• Synthetic Transactions 4

Page 5: DevOps with PaaS: Keys for Instrumentation Success, FutureStack17

Application Instrumentation

5

Page 6: DevOps with PaaS: Keys for Instrumentation Success, FutureStack17

Automation & Deployment

6

Page 7: DevOps with PaaS: Keys for Instrumentation Success, FutureStack17

Monitoring & Reporting

7

Page 8: DevOps with PaaS: Keys for Instrumentation Success, FutureStack17

Application Performance Monitoring (APM) Belongs In Your ALM!

8

Page 9: DevOps with PaaS: Keys for Instrumentation Success, FutureStack17

SPA Browser Injection• New Relic Single Page Application (SPA) agent

9

Page 10: DevOps with PaaS: Keys for Instrumentation Success, FutureStack17

SPA Browser Injection

• Found this to be more stable results

• PowerShell Tip: • Beware of encoding when copy\paste\insert in your text

files.

10

Page 11: DevOps with PaaS: Keys for Instrumentation Success, FutureStack17

Custom .XML Extension Files• Building Custom .XML Extension Files

• Keeping the files updated\relevant with the code

• TracerFactory Settings

11

Page 12: DevOps with PaaS: Keys for Instrumentation Success, FutureStack17

WebJobs, WebJobs, WebJobs!

• These go in the PaaS AppSettings • COR_ENABLE_PROFILING

• COR_PROFILER • COR_PROFILER_PATH • NEWRELIC_HOME

• NEW_RELIC_LICENSE_KEY

• These must go in the .exe.config appsettings: • <add key="NewRelic.AppName" value=“webjobname" /> • <add key="NewRelic.AgentEnabled" value="true" /> • <add key="NewRelic.LicenseKey" value=“T7yth1$k3y" />

12

Page 13: DevOps with PaaS: Keys for Instrumentation Success, FutureStack17

WebJobs, WebJobs, WebJobs!

• New Relic Dashboard Tip: • Add this to the PaaS App running all your WebJobs

• NEW_RELIC_LABELS • Environment:DEV

• Environment:QA

13

Page 14: DevOps with PaaS: Keys for Instrumentation Success, FutureStack17

14