Simple DateTime checks with ServiceNow Script Includes

I can’t remember the exact reason I created this script include, but after finding it figured I’d draft up a couple quick examples as the logic could be expanded to other checks, plus, I might need it again one day so its good to have on hand. The script include detailed below creates a new class type in ServiceNow that can be used both from the client-side with Ajax, and from the server-side as a simple object call.


Five worthy reads: Infrastructure as Code, the single source of truth

From server setup and hardware configuration to application deployment, traditional end-to-end IT infrastructure management has high overhead and takes a lot of time and effort. With the advent of cloud computing, IT infrastructure has evolved to address the availability, scalability, and agility problems organizations face. Yet the issue of inconsistent configurations remains, because the manual setup of cloud infrastructure can still lead to discrepancies.


"Easy Instrumentation" or "Portable Instrumentation" - Choose Two

The contribution of Datadog’s automatic instrumentation code to OpenTelemetry will make it easier than ever to get started with distributed tracing. With support for hundreds of popular frameworks across seven languages, the new OpenTelemetry auto instrumentation initiative is off to a great start. However, you don’t need to wait for the OpenTelemetry port to take advantage of automatic instrumentation in LightStep!


Understanding page faults and memory swap-in/outs: when should you worry?

Imagine this: your library is trying to step up its game and compete in the Internet age. Rather than you browsing the shelfs, trying to remember how the Dewey Decimal works, you'll enter your book selections from your phone. A librarian will then bring your books to the front desk. You place your book order on a busy weekend morning. Rather than getting all of your books, the librarian just brings one back.


Prototyping IoT with InfluxDB Cloud 2.0

Earlier this week we announced that we are ready for the world to start using InfluxDB Cloud 2.0, the next version of the most popular time series database, in production. I love InfluxDB, and joined the company because it is so easy and fun to use while also being a battle-hardened production database. InfluxDB Cloud 2.0 is suitable for monitoring infrastructure (including easily monitoring your Kubernetes cluster) but is also very popular for IoT projects.


Getting Related Record Data on ServiceNow Forms

Sometimes a case comes up where you need to lookup further information on the active record, via is referenced records. ServiceNow makes it pretty painless with the g_form.getReference method, which uses a callback to keep from blocking the rest of your script. The example I have below, and on our GitHub repo, uses getReference in a Client Script as a way to notify uses if they are setting the owner of a CI as an inactive user.


Having Cake and Eating It: How to Use Terraform to Build SignalFx Alerts from Code

If making dashboards or detectors is a great way to protect and understand your stack, imagine how amazing it would be if you didn’t have to make them and they just popped into existence, curated by experts in your organization. It’s like a cooking show where the host pulls a baked and iced cake from under the counter. Voila! This, friends, is one of the benefits of monitoring as code.