ServerRequestObservationConvention.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final KeyValue | |
| private static final Set | |
| private static final KeyValue | |
| private static final KeyValue | |
| private static final KeyValue | |
| private static final KeyValue | |
| private final String | |
| private static final KeyValue | |
| private static final KeyValue | |
| private static final KeyValue | |
| private static final KeyValue | |
| private static final KeyValue |
| Access | Constructor and Description |
|---|---|
| public | DefaultServerRequestObservationConvention()
Create a convention with the default name |
| public | DefaultServerRequestObservationConvention(String
the observation name name)Create a convention with a custom name. |
| Modifier and Type | Method and Description |
|---|---|
| protected KeyValue | |
| public String | getContextualName(ServerRequestObservationContext
context context)Overrides default io. Observation.
|
| public KeyValues | getHighCardinalityKeyValues(ServerRequestObservationContext context)
Overrides default io. |
| public KeyValues | getLowCardinalityKeyValues(ServerRequestObservationContext context)
Overrides default io. |
| public String | getName()
Overrides default io. |
| protected KeyValue | |
| protected KeyValue | |
| protected KeyValue | |
| protected KeyValue | |
| protected KeyValue |
| DEFAULT_NAME | back to summary |
|---|---|
| private static final String DEFAULT_NAME | |
| EXCEPTION_NONE | back to summary |
|---|---|
| private static final KeyValue EXCEPTION_NONE | |
| HTTP_METHODS | back to summary |
|---|---|
| private static final Set<HttpMethod> HTTP_METHODS | |
| HTTP_OUTCOME_SUCCESS | back to summary |
|---|---|
| private static final KeyValue HTTP_OUTCOME_SUCCESS | |
| HTTP_OUTCOME_UNKNOWN | back to summary |
|---|---|
| private static final KeyValue HTTP_OUTCOME_UNKNOWN | |
| HTTP_URL_UNKNOWN | back to summary |
|---|---|
| private static final KeyValue HTTP_URL_UNKNOWN | |
| METHOD_UNKNOWN | back to summary |
|---|---|
| private static final KeyValue METHOD_UNKNOWN | |
| name | back to summary |
|---|---|
| private final String name | |
| STATUS_UNKNOWN | back to summary |
|---|---|
| private static final KeyValue STATUS_UNKNOWN | |
| URI_NOT_FOUND | back to summary |
|---|---|
| private static final KeyValue URI_NOT_FOUND | |
| URI_REDIRECTION | back to summary |
|---|---|
| private static final KeyValue URI_REDIRECTION | |
| URI_ROOT | back to summary |
|---|---|
| private static final KeyValue URI_ROOT | |
| URI_UNKNOWN | back to summary |
|---|---|
| private static final KeyValue URI_UNKNOWN | |
| DefaultServerRequestObservationConvention | back to summary |
|---|---|
| public DefaultServerRequestObservationConvention() Create a convention with the default name | |
| DefaultServerRequestObservationConvention | back to summary |
|---|---|
| public DefaultServerRequestObservationConvention(String name) Create a convention with a custom name.
| |
| exception | back to summary |
|---|---|
| protected KeyValue exception(ServerRequestObservationContext context) | |
| getContextualName | back to summary |
|---|---|
| public String getContextualName(ServerRequestObservationContext context) Overrides default io. Doc from io. Allows to override the contextual name for an
| |
| getHighCardinalityKeyValues | back to summary |
|---|---|
| public KeyValues getHighCardinalityKeyValues(ServerRequestObservationContext context) Overrides default io. Doc from io. High cardinality key values. | |
| getLowCardinalityKeyValues | back to summary |
|---|---|
| public KeyValues getLowCardinalityKeyValues(ServerRequestObservationContext context) Overrides default io. Doc from io. Low cardinality key values. | |
| getName | back to summary |
|---|---|
| public String getName() Overrides default io. Doc from io. Allows to override the name for an observation. | |
| httpUrl | back to summary |
|---|---|
| protected KeyValue httpUrl(ServerRequestObservationContext context) | |
| method | back to summary |
|---|---|
| protected KeyValue method(ServerRequestObservationContext context) | |
| outcome | back to summary |
|---|---|
| protected KeyValue outcome(ServerRequestObservationContext context) | |
| status | back to summary |
|---|---|
| protected KeyValue status(ServerRequestObservationContext context) | |
| uri | back to summary |
|---|---|
| protected KeyValue uri(ServerRequestObservationContext context) | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static KeyValue |
| HttpOutcome | back to summary |
|---|---|
| pack-priv HttpOutcome() | |
| forStatus | back to summary |
|---|---|
| pack-priv static KeyValue forStatus(HttpStatusCode statusCode) | |