Thoughts on how to use metrics & logging data to their advantages for observing deployed service components.…
Cortex: Zone Aware Replication
A new update to cortexmetics.io allows data replication to be aware of availability zones when selecting ingesters for a particular time-series.…
Avoid Raw Secret Data in Environment Variables
Secrets, as noted in the kubernetes documentation, can be referenced by containers as environment variables or as files mounted on a data volume. Environment variables are very convenient to consume and adhere to the guidance of the 12 Factor App. However, there are accidental disclosure risks for data in environment…
Adding Application Insights to an AngularJS Application
AngularJS is an amazing javascript based framework for creating rich Single Page Applications. Adding Microsoft Application Insights to your application can give you a large amount of data about how your users are utilizing the application. Get an Application Insights Instrumentation Key Before setting up your AngularJS application with Application…
Obtaining An Application Insights Instrumentation Key
Throughout my guides and any others you read about Application Insights, you will come across the term 'Instrumentation Key' or 'iKey'. This key is essential for sending application telemetry data to application insights. Fortunately these keys are fairly straight forward to create in the new azure portal. Log into the…
How to use Webgrease Configuration Files
WebGrease is a powerful utility for optimizing a web application's static asset files, such as CSS and JS. However manually entering the configuration for the action one wishes to run on the command line, tends to be impractical for anything beyond simple use. As I mentioned in my previous post,…
WebGrease: As seen in Visual Studio 2012
When you install the Visual Studio 2012 RC release, and create a ASP.NET project, you might notice a dependency on an assembly called WebGrease. I've seen the question show up in comments on Scott Hanselman's blog post asking what it is, and I did intend to have this post…
Moq : Mocking Made Simple
Unit testing is a very important part of the development process. With in the scope of testing, being able to isolate the code being tested from external dependencies (ex: REST service, 3rd party library, etc), is key to ensuring accurate results. A unit test shouldn't fail because of an environmental…