- New Relic
- Params
- Params.MetricInfo
- Params.MetricInfo.Type
New Relic
该组件由 Istio 合作伙伴创建并维护,如有问题请直接与合作伙伴联系。
合作伙伴 | New Relic, Inc. |
源码 | https://github.com/newrelic/newrelic-istio-adapter |
最新版本 | https://github.com/newrelic/newrelic-istio-adapter/releases |
支持的模版 | Trace Span ,Metric |
An Istio Mixer adapter to send telemetry data to New Relic.
Params
Configuration format for the newrelic
adapter.
Field | Type | Description |
---|---|---|
namespace | string | Optional. The namespace is used as a prefix for metric names in New Relic.An example: for a metric named requestSize with a namespace of istio ,the full metric name in New Relic becomes istio.requestSize . |
metrics | map<string, Params.MetricInfo> | Map of Istio metric instance names and the corresponding New RelicMetricInfo specification. This identifies what to send New Relic andin what form it should be sent.Any metric instances Istio sends to the adapter but not specified herewill be dropped and not exported to New Relic. |
Params.MetricInfo
Describes how to represent an Istio metric instance in New Relic.
Field | Type | Description |
---|---|---|
name | string | Recommended. The name of the metric (scoped by namespaces) in New Relic.The name must not be empty and the fully qualified name (prefixedwith the namespace) must contain 255 16-bit code units (UTF-16) orless. Otherwise, an error will be logged and no metric will be sentto New Relic. |
type | Params.MetricInfo.Type | Required. New Relic metric type to interpret the Istio instance as. |
Params.MetricInfo.Type
New Relic Metric types.
Name | Description |
---|---|
UNSPECIFIED | Default and invalid unspecified type.An error will be logged and the metric dropped if unspecified. |
GAUGE | A New Relic Gauge type.This metric type represents the instantaneous state of somethingor process that can both increase and decrease in value.For example, this metric type would be used to record:- the network throughput of a service- the storage capacity used on a server- the size of a queue |
COUNT | A New Relic Count type.This metric type represents the number of occurrences for an eventwithin a time window. It is important to note that this is not thecumulative tally of occurrences since the beginning ofmeasurements. Rather, this metric type represents the change in thecumulative tally of events within a time window.For example, this metric type would be used to record:- the number of requests to a service- the number of tasks submitted to a processor- the number of errors produced |
SUMMARY | New Relic Summary type.This metric type reports aggregated information about discreteevents. The information is recorded as a count of events, averageevent values, sum of event values, and the minimum and maximumevent values observed within a time window.For example, this metric type would be used to record:- the duration and count of requests to service- the duration and count of database transactions- the time each message spent in a queue |