forked from linkedin/venice
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
801478b
commit a636f3b
Showing
7 changed files
with
80 additions
and
45 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
27 changes: 27 additions & 0 deletions
27
internal/venice-common/src/main/java/com/linkedin/venice/stats/VeniceMetricsDimensions.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package com.linkedin.venice.stats; | ||
|
||
public enum VeniceMetricsDimensions { | ||
VENICE_STORE_NAME("Venice.Store.Name"), | ||
|
||
/** {@link com.linkedin.venice.read.RequestType} */ | ||
VENICE_REQUEST_METHOD("Venice.Request.Method"), | ||
|
||
/** {@link io.netty.handler.codec.http.HttpResponseStatus} */ | ||
HTTP_RESPONSE_STATUS_CODE("Http.Response.StatusCode"), | ||
|
||
/** {@link io.netty.handler.codec.http.HttpStatusClass} */ | ||
HTTP_RESPONSE_STATUS_CODE_CATEGORY("Http.Response.StatusCodeCategory"), | ||
|
||
/** {@link VeniceResponseStatus} */ | ||
VENICE_RESPONSE_STATUS_CODE("Venice.Response.StatusCode"); | ||
|
||
private final String dimensionName; | ||
|
||
VeniceMetricsDimensions(String dimensionName) { | ||
this.dimensionName = dimensionName; | ||
} | ||
|
||
public String getDimensionName() { | ||
return this.dimensionName; | ||
} | ||
} |
5 changes: 5 additions & 0 deletions
5
internal/venice-common/src/main/java/com/linkedin/venice/stats/VeniceResponseStatus.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.linkedin.venice.stats; | ||
|
||
public enum VeniceResponseStatus { | ||
HEALTHY, UNHEALTHY, TARDY, THROTTLED | ||
} |
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
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
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
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