Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Add trigger tags to root span and integration spans #42

Merged
merged 6 commits into from Dec 20, 2018

Conversation

kobalski
Copy link
Contributor

No description provided.

@coveralls
Copy link

coveralls commented Dec 17, 2018

Pull Request Test Coverage Report for Build 254

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 119 unchanged lines in 6 files lost coverage.
  • Overall coverage decreased (-1.9%) to 63.062%

Files with Coverage Reduction New Missed Lines %
dist/plugins/Trace.js 3 94.92%
dist/plugins/integrations/RedisIntegration.js 6 19.35%
dist/plugins/integrations/HttpIntegration.js 9 11.11%
dist/plugins/integrations/PostgreIntegration.js 10 17.74%
dist/plugins/integrations/MySQL2Integration.js 11 17.74%
dist/plugins/integrations/AWSIntegration.js 80 5.74%
Totals Coverage Status
Change from base Build 248: -1.9%
Covered Lines: 1339
Relevant Lines: 1962

💛 - Coveralls

[SpanTags.TOPOLOGY_VERTEX]: true,
[SpanTags.TRIGGER_DOMAIN_NAME]: LAMBDA_APPLICATION_DOMAIN_NAME,
[SpanTags.TRIGGER_CLASS_NAME]: LAMBDA_APPLICATION_CLASS_NAME,
[SpanTags.TRIGGER_OPERATION_NAMES]: [this.config.host],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this must be config.database to be consistent with the span name.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

[SpanTags.TOPOLOGY_VERTEX]: true,
[SpanTags.TRIGGER_DOMAIN_NAME]: LAMBDA_APPLICATION_DOMAIN_NAME,
[SpanTags.TRIGGER_CLASS_NAME]: LAMBDA_APPLICATION_CLASS_NAME,
[SpanTags.TRIGGER_OPERATION_NAMES]: [path.split('?')[0]],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this must be host + path to be consistent with the span name.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@serkan-ozal serkan-ozal merged commit 801427b into master Dec 20, 2018
@kobalski kobalski deleted the feature/add-trigger-tags branch December 21, 2018 08:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants