• 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.

    FieldTypeDescription
    namespacestringOptional. 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.
    metricsmap<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.

    FieldTypeDescription
    namestringRecommended. 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.
    typeParams.MetricInfo.TypeRequired. New Relic metric type to interpret the Istio instance as.

    Params.MetricInfo.Type

    New Relic Metric types.

    NameDescription
    UNSPECIFIEDDefault and invalid unspecified type.An error will be logged and the metric dropped if unspecified.
    GAUGEA 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
    COUNTA 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
    SUMMARYNew 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