Commit f42d935d authored by Varunkumar Manohar's avatar Varunkumar Manohar Committed by Sacha Brants
Browse files

chore: ignore svcstatus path for Google Cloud traces

parent 1434ea35
......@@ -48,7 +48,7 @@ The following software have components provided under the terms of this license:
- aws-sign2 (from https://www.npmjs.com/package/aws-sign2)
- boto3 (from https://github.com/boto/boto3)
- botocore (from https://github.com/boto/botocore)
- browser-request (from http://github.com/iriscouch/browser-request)
- browser-request (from https://www.npmjs.com/package/browser-request)
- caseless (from https://www.npmjs.com/package/caseless)
- cloudant-follow (from https://www.npmjs.com/package/cloudant-follow)
- cluster-key-slot (from https://www.npmjs.com/package/cluster-key-slot)
......@@ -135,7 +135,7 @@ The following software have components provided under the terms of this license:
- qs (from https://www.npmjs.com/package/qs)
- qs (from https://www.npmjs.com/package/qs)
- rc (from https://www.npmjs.com/package/rc)
- shimmer (from https://github.com/othiym23/shimmer#readme)
- shimmer (from https://www.npmjs.com/package/shimmer)
- source-map (from https://www.npmjs.com/package/source-map)
- sprintf-js (from https://github.com/alexei/sprintf.js#readme)
- tough-cookie (from https://www.npmjs.com/package/tough-cookie)
......@@ -193,7 +193,7 @@ The following software have components provided under the terms of this license:
- tough-cookie (from https://www.npmjs.com/package/tough-cookie)
- tslib (from https://www.npmjs.com/package/tslib)
- uri-js (from https://www.npmjs.com/package/uri-js)
- url-template (from https://github.com/bramstein/url-template)
- url-template (from https://www.npmjs.com/package/url-template)
- uuid (from https://www.npmjs.com/package/uuid)
- uuid (from https://www.npmjs.com/package/uuid)
- uuid (from https://www.npmjs.com/package/uuid)
......@@ -431,7 +431,7 @@ The following software have components provided under the terms of this license:
- body-parser (from https://www.npmjs.com/package/body-parser)
- botocore (from https://github.com/boto/botocore)
- brace-expansion (from https://www.npmjs.com/package/brace-expansion)
- browser-request (from http://github.com/iriscouch/browser-request)
- browser-request (from https://www.npmjs.com/package/browser-request)
- buffer (from https://www.npmjs.com/package/buffer)
- buffer (from https://www.npmjs.com/package/buffer)
- buffer-from (from https://www.npmjs.com/package/buffer-from)
......
......@@ -14,10 +14,10 @@
// limitations under the License.
// ============================================================================
import * as tracer from '@google-cloud/trace-agent';
import { AbstractTrace, TraceFactory } from '../../trace';
import { ConfigGoogle } from './config';
import * as tracer from '@google-cloud/trace-agent';
@TraceFactory.register('google')
export class GoogleTrace extends AbstractTrace {
......@@ -26,6 +26,7 @@ export class GoogleTrace extends AbstractTrace {
tracer.start({
keyFilename: ConfigGoogle.SERVICE_IDENTITY_KEY_FILENAME,
projectId: ConfigGoogle.SERVICE_CLOUD_PROJECT,
ignoreUrls: [ConfigGoogle.API_BASE_PATH + '/svcstatus']
});
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment