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

Add some default tags like "app", "grails_version", "env" and "version" #29

Closed
mhuebner opened this issue Jun 8, 2017 · 3 comments
Closed
Assignees

Comments

@mhuebner
Copy link

mhuebner commented Jun 8, 2017

These tags should be added by default as you won't be able to filter by "app" (projekt name) or "grails_version" in sentry.

@mhuebner mhuebner changed the title Add tag "app" with grails project.name dynamically Add some default tags like "app" (project.name) and "grails_version" Jun 8, 2017
@musketyr musketyr self-assigned this Jun 8, 2017
@musketyr
Copy link
Collaborator

musketyr commented Jun 8, 2017

this sounds like a sensible default, I'll investigate the possibilities of doing so.

@mhuebner
Copy link
Author

mhuebner commented Jun 28, 2017

Defaults might be:

 def metadata = Metadata.getCurrent()
 tags['app'] = metadata.getApplicationName()
 tags['version'] = metadata.getApplicationVersion()
 tags['grails_version'] = metadata.getGrailsVersion()
 tags['env'] = metadata.getEnvironment()

@mhuebner mhuebner changed the title Add some default tags like "app" (project.name) and "grails_version" Add some default tags like "app", "grails_version", "env" and "version" Jun 28, 2017
@mhuebner
Copy link
Author

There might also be a config setting to be able to control these tags.

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

No branches or pull requests

2 participants