Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

567-add-additional-data-as-tags #762

Merged
merged 8 commits into from
Dec 7, 2022
Merged

Conversation

devinsag
Copy link
Contributor

@devinsag devinsag commented Nov 22, 2022

Please see https://gitlab.com/architect-io/architect-cli/-/issues/567

Overview

Sentry transactions for the CLI project assigns command flags under Additional Data. Additional Data is not indexed for search, so there is no way to filter search results for a particular flag value used. Eg., wanting to see architect dev/deploy commands that have used the -i flag.

Changes

Update sentry startTransaction to add command flags passed by argument to CLI as tags to sentry.
Move logic for setting additional data into start sentry transaction.

Tests

  • npm run test
  • architect environments
  • architect environments -a architect

Docs

N/A

src/sentry.ts Outdated Show resolved Hide resolved
src/sentry.ts Outdated Show resolved Hide resolved
src/sentry.ts Outdated Show resolved Hide resolved
src/sentry.ts Outdated Show resolved Hide resolved
src/sentry.ts Outdated Show resolved Hide resolved
src/sentry.ts Outdated Show resolved Hide resolved
@TylerAldrich TylerAldrich merged commit d821dea into rc Dec 7, 2022
@TylerAldrich TylerAldrich deleted the 567-add-additional-data-as-tags branch December 7, 2022 18:50
github-actions bot pushed a commit that referenced this pull request Dec 7, 2022
## [1.29.1-rc.4](v1.29.1-rc.3...v1.29.1-rc.4) (2022-12-07)

### Bug Fixes

* **sentry:** Log flags/commands as tags for searching ([#762](#762)) ([d821dea](d821dea))
github-actions bot pushed a commit that referenced this pull request Dec 14, 2022
# [1.30.0](v1.29.0...v1.30.0) (2022-12-14)

### Bug Fixes

* **graph:** Fix dependency edges for new interfaces spec ([#776](#776)) ([1913d8e](1913d8e))
* **register:** Fixing register for services with reserved names ([#777](#777)) ([6f465af](6f465af))
* **reserved_name:** Remove architect_ref to avoid confusion ([#778](#778)) ([4967e7d](4967e7d))
* **sentry:** Log flags/commands as tags for searching ([#762](#762)) ([d821dea](d821dea))
* **webkit:** Add check for regex lookbehind support ([#770](#770)) ([8698a2d](8698a2d))
* **webkit:** regex ([#771](#771)) ([b74cccd](b74cccd))
* **webkit:** Use RegExp so catch triggers ([cccfded](cccfded))

### Features

* **spec:** Deprecate top level interfaces block ([#775](#775)) ([9144120](9144120))
@github-actions
Copy link

🎉 This PR is included in version 1.30.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants