Automate your tags with Python and the NerdGraph API
Blog post from New Relic
In the second part of a five-part series on automating DevOps tasks in New Relic, the blog post explains how to utilize the NerdGraph API to efficiently manage tags for New Relic entities using Python, demonstrating the creation, reading, updating, and deletion of tags through GraphQL queries. The post emphasizes the use of tags for better organization when handling large data sets and offers Python code snippets for each operation, requiring prerequisites such as Python 3, the requests and json modules, a New Relic account and API key, and an application instrumented with New Relic APM and Infrastructure. Readers are encouraged to explore further capabilities of the NerdGraph API for enhancing their observability practices and are invited to engage with the New Relic community via the Explorers Hub for support and discussion.