Home / Companies / New Relic / Blog / Post Details
Content Deep Dive

Automate your tags with Python and the NerdGraph API

Blog post from New Relic

Post Details
Company
Date Published
Author
Steve Ng, Senior Manager, Developer Relations
Word Count
1,057
Language
English
Hacker News Points
-
Summary

This tutorial explains how to automate common DevOps tasks using Python and the NerdGraph API in New Relic. It covers creating, reading, updating, and deleting tags to segment applications based on environments or other criteria, making it easier to manage and analyze data. The tutorial requires a New Relic account, instrumented application, and API key, and provides code snippets in Python using the requests and json modules. The guide also includes examples of how to use the NerdGraph API to perform these tasks, including error handling and response checking.