Managing complex application environments can be made even harder by the complex organizations in which we work. Multiple stakeholders may be interested in different applications or services, or even applications in different stages of deployment. Wouldn’t it be great if everyone could view apps and servers from their own point of view?
New Relic has taken a step in helping you manage that complexity with our new labels and rollups feature. With labels and rollups, each stakeholder can get a custom view of the set of applications—and, soon, servers—that they need to get their jobs done. For example, the screenshot below shows a custom view of all the applications in “staging” rolled up by the team that works on them:
The screenshot reveals the number of applications each team has in staging and the applications’ status. This is a view of well over 100 applications, filtered down to just the 20 we’re interested in, rolled up by the teams we’re interested in. How can you do this yourself?
Let’s start on the APM home page. First thing you’ll notice is the new search box on the left and the “Show Labels” toggle to the right. All your applications and servers load at once, with sorting and filtering occurring on the entire set. Paging is lightning fast.
But even if you can page through all your applications or servers, you probably want to narrow them down to the set you’re interested in. That’s where labels and rollups come in. If we turn on “Show Labels,” we’ll see that the folks in New Relic engineering have started to organize New Relic’s own applications.
A label has two attributes: a category and a value. A category is used as an organizer for rollups. You can roll up by category, and all the different label values for a category will be organized together. Let’s see how that works.
If we click in the search field, we see that the top five categories show up right at the top, under the words “ROLL UP BY.”
If we select “Environment,” we see a different view:
The label category “Environment” has four label values: Dev, Production, Staging, and Test. All the applications for each of those values are “rolled up” together, giving us aggregate health indicators. All the applications missing labels of type “Environment” are filtered out, so we can easily see what we’re interested in. If we were to look at the address bar in our browser, we would see that this rollup is reflected there, so it can be bookmarked. We can always return to this view.
If we click the dark rectangle near the middle of the rollup, we’ll see details on what’s in that rollup:
We can clear this rollup and filter by labels as well:
And also roll up once we’ve filtered:
When we click in the search field and scroll, we see the top five selections for each rollup, label category’s values, and applications. If we type, it’ll automatically start narrowing the list. In the screenshot below, we’ve started typing “Service” and it’s started narrowing the list for us.
Adding labels is easy. Just click the “+” sign in the circle under an app or server name to label it. We can choose from a list of existing label categories and values, or type our new category and value with a colon between them, like this: “category:value.”
You can automate this process. New Relic has an API for listing, creating, and deleting labels. The next releases of the Ruby, PHP, and server monitoring agents allow you to specify categories and labels in their configuration file, with other language agents adding the feature in future releases. Likewise, you can use the API for filtering server lists by labels.
New Relic labels and rollups are designed to help you focus on what you need to worry about, giving you easy access to your application and server performance information. We hope you like it! Please tell us what you think in our Community Forum.
이 블로그에 표현된 견해는 저자의 견해이며 반드시 New Relic의 견해를 반영하는 것은 아닙니다. 저자가 제공하는 모든 솔루션은 환경에 따라 다르며 New Relic에서 제공하는 상용 솔루션이나 지원의 일부가 아닙니다. 이 블로그 게시물과 관련된 질문 및 지원이 필요한 경우 Explorers Hub(discuss.newrelic.com)에서만 참여하십시오. 이 블로그에는 타사 사이트의 콘텐츠에 대한 링크가 포함될 수 있습니다. 이러한 링크를 제공함으로써 New Relic은 해당 사이트에서 사용할 수 있는 정보, 보기 또는 제품을 채택, 보증, 승인 또는 보증하지 않습니다.