This plugin is an interface that allow RestQL to use New Relic as Application Performance Monitoring solution.
To use this plugin you need the RestQL CLI tool. You can build a custom RestQL binary with this plugin using the following command:
$ RUN restQL-cli build --with github.com/wedneyyuri/[email protected] --output ./restQL v6.2.0
This plugin can be configured through environment variables.
NEW_RELIC_APP_NAME
: (REQUIRED) sets AppNameNEW_RELIC_LICENSE_KEY
: (REQUIRED) sets License
NEW_RELIC_ATTRIBUTES_EXCLUDE
: sets Attributes.Exclude using a comma-separated list, eg. "request.- `headers.host,request.method"NEW_RELIC_ATTRIBUTES_INCLUDE
: sets Attributes.Include using a comma-separated listNEW_RELIC_DISTRIBUTED_TRACING_ENABLED
: sets DistributedTracer.Enabled using strconv.ParseBoolNEW_RELIC_ENABLED
: sets Enabled using strconv.ParseBoolNEW_RELIC_HIGH_SECURITY
: sets HighSecurity using strconv.ParseBoolNEW_RELIC_HOST
: sets HostNEW_RELIC_INFINITE_TRACING_SPAN_EVENTS_QUEUE_SIZE
: sets InfiniteTracing.SpanEvents.QueueSize using strconv.Atoi.NEW_RELIC_INFINITE_TRACING_TRACE_OBSERVER_PORT
: sets InfiniteTracing.TraceObserver.Port using strconv.Atoi.NEW_RELIC_INFINITE_TRACING_TRACE_OBSERVER_HOST
: sets InfiniteTracing.TraceObserver.HostNEW_RELIC_LABELS
: sets Labels using a semi-colon delimited string of colon-separated - `pairs, eg. "Server:One;DataCenter:Primary"NEW_RELIC_LOG
: sets Logger to log to either "stdout" or "stderr" (filenames are not - `supported)NEW_RELIC_LOG_LEVEL
: controls the NEW_RELIC_LOG level, must be "debug" for debug, or - `empty for infoNEW_RELIC_PROCESS_HOST_DISPLAY_NAME
: sets HostDisplayNameNEW_RELIC_SECURITY_POLICIES_TOKEN
: sets SecurityPoliciesTokenNEW_RELIC_UTILIZATION_BILLING_HOSTNAME
: sets Utilization.BillingHostnameNEW_RELIC_UTILIZATION_LOGICAL_PROCESSORS
: sets Utilization.LogicalProcessors using strconv.Atoi.NEW_RELIC_UTILIZATION_TOTAL_RAM_MIB
: sets Utilization.TotalRAMMIB using strconv.Atoi.NEW_RELIC_TRANSACTION_EVENTS_MAX_SAMPLES_STORED
: sets TransactionEvents.MaxSamplesStored using strconv.Atoi.
The MIT license. See the LICENSE file.