This repository has been archived by the owner on Jun 25, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Concatenate event metadata into "paths".
Stackdriver (SD) imposes a limit of 10 labels per custom metric. Simply copying event metadata into SD labels results in some metrics hitting that limit. To address this, drop eventType and the org/space/application UUID labels completely, and instead create two "path" labels, originPath and applicationPath, that concatenate together related pieces of event metadata into a hierarchy. The origin path hierarchy is /job/origin. The application path hierarchy is /org/space/application. Keep the VM and application index labels separate so that higher level aggregations of the same metric data can be created, and the deployment label separate to allow it to be used to distinguish between multiple PCF instances in the same GCP project.
- Loading branch information
Showing
2 changed files
with
201 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.