Files
backstage/plugins/analytics-module-newrelic-browser/config.d.ts
T
Jonathan Mezach 5bbee4c954 Renamed config settings
Signed-off-by: Jonathan Mezach <jonathan.mezach@rr-wfm.com>
2023-07-20 14:54:06 +02:00

60 lines
1.6 KiB
TypeScript

/*
* Copyright 2023 The Backstage Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export interface Config {
app: {
analytics?: {
newRelic: {
/**
* Data ingestion endpoint to use, either bam.eu01.nr-data.net (EU) or bam.nr-data.net (US)
* @visibility frontend
*/
endpoint: 'bam.eu01.nr-data.net' | 'bam.nr-data.net';
/**
* New Relic Account ID, e.g. 1234567
* @visibility frontend
*/
accountId: string;
/**
* New Relic Application ID, e.g. 987654321
* @visibility frontend
*/
applicationId: string;
/**
* New Relic License Key, e.g. NRJS-12a3456bc78de9123f4
* @visibility frontend
*/
licenseKey: string;
/**
* Whether to enabled distributed tracing, defaults to false
* @visibility frontend
*/
distributedTracingEnabled: boolean;
/**
* Whether to enabled tracing of cookies, defaults to false
* @visibility frontend
*/
cookiesEnabled: boolean;
};
};
};
}