devops with paas: keys for instrumentation success, futurestack17

Post on 21-Jan-2018

107 Views

Category:

Software

4 Downloads

Preview:

Click to see full reader

TRANSCRIPT

DevOps with PaaS: Key for Instrumentation Success

1

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

Agenda

• Intro (AT and DevOps process) with PAAS

• Instrumenting Azure PaaS applications with New Relic Overview

• Demo

3

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

Application Instrumentation

5

Automation & Deployment

6

Monitoring & Reporting

7

Application Performance Monitoring (APM) Belongs In Your ALM!

8

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

9

SPA Browser Injection

• Found this to be more stable results

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

files.

10

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

• Keeping the files updated\relevant with the code

• TracerFactory Settings

11

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

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

14

top related