export interface Tag { readonly key : string ; readonly overridable : boolean ; val : string ; } export default { coldStartKey : 'coldStart' , httpStatusCodeKey : 'http.status.code' , httpStatusMsgKey : 'http.status.msg' , httpURLKey : 'http.url' , httpMethodKey : 'http.method' , dbTypeKey : 'db.type' , dbInstanceKey : 'db.instance' , dbStatementKey : 'db.statement' , dbSqlParametersKey : 'db.sql.parameters' , dbMongoParametersKey : 'db.mongo.parameters' , mqBrokerKey : 'mq.broker' , mqTopicKey : 'mq.topic' , mqQueueKey : 'mq.queue' , coldStart ( val = true ) { return { key : this . coldStartKey , overridable : true , val : `${ val }` , } as Tag ; } , httpStatusCode ( val ) { return { key : this . httpStatusCodeKey , overridable : true , val : `${ val }` , } as Tag ; } , httpStatusMsg ( val ) { return { key : this . httpStatusMsgKey , overridable : true , val : `${ val }` , } as Tag ; } , httpURL ( val ) { return { key : this . httpURLKey , overridable : true , val : `${ val }` , } as Tag ; } , httpMethod ( val ) { return { key : this . httpMethodKey , overridable : true , val : `${ val }` , } as Tag ; } , dbType ( val ) { return { key : this . dbTypeKey , overridable : true , val : `${ val }` , } as Tag ; } , dbInstance ( val ) { return { key : this . dbInstanceKey , overridable : true , val : `${ val }` , } as Tag ; } , dbStatement ( val ) { return { key : this . dbStatementKey , overridable : true , val : `${ val }` , } as Tag ; } , dbSqlParameters ( val ) { return { key : this . dbSqlParametersKey , overridable : false , val : `${ val }` , } as Tag ; } , dbMongoParameters ( val ) { return { key : this . dbMongoParametersKey , overridable : false , val : `${ val }` , } as Tag ; } , mqBroker ( val ) { return { key : this . mqBrokerKey , overridable : true , val : `${ val }` , } as Tag ; } , mqTopic ( val ) { return { key : this . mqTopicKey , overridable : true , val : `${ val }` , } as Tag ; } , mqQueue ( val ) { return { key : this . mqQueueKey , overridable : true , val : `${ val }` , } as Tag ; } , } ;