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

Make last messages in alarm callback email more readable again #1216

Closed
bernd opened this Issue Jun 5, 2015 · 0 comments

Comments

Projects
None yet
2 participants
@bernd
Member

bernd commented Jun 5, 2015

The 1.0 email alarmcallback template formatted the list of messages like this:

Last messages accounting for this alert:

source: example.org | message: GET /posts [200] 98ms { http_response_code: 200 | gl2_source_node: b70c4d8f-2aac-491a-9966-5cc35da7e96d | resource: /posts |
timestamp: 2015-06-05T10:39:29.065Z | http_method: GET | took_ms: 98 | _id: 24c23190-0b6f-11e5-a8e6-56847afe9799 | gl2_source_input: 556ed17be4b0601d88cba7c1
| action: index | user_id: 9001 | streams: [556f1e66e4b0601d88cbfb21] | controller: PostsController }

source: example.org | message: GET /posts [200] 73ms { http_response_code: 200 | gl2_source_node: b70c4d8f-2aac-491a-9966-5cc35da7e96d | resource: /posts |
timestamp: 2015-06-05T10:39:29.036Z | http_method: GET | took_ms: 73 | _id: 24bdc4c0-0b6f-11e5-a8e6-56847afe9799 | gl2_source_input: 556ed17be4b0601d88cba7c1
| action: index | user_id: 6476752 | streams: [556f1e66e4b0601d88cbfb21] | controller: PostsController }

Since 1.1 the list of messages looks like this:

Last messages accounting for this alert:
source: example.org | message: GET /posts [200] 98ms { http_response_code: 200 | gl2_source_node: b70c4d8f-2aac-491a-9966-5cc35da7e96d | resource: /posts |
timestamp: 2015-06-05T10:39:29.065Z | http_method: GET | took_ms: 98 | _id: 24c23190-0b6f-11e5-a8e6-56847afe9799 | gl2_source_input: 556ed17be4b0601d88cba7c1
| action: index | user_id: 9001 | streams: [556f1e66e4b0601d88cbfb21] | controller: PostsController }
source: example.org | message: GET /posts [200] 73ms { http_response_code: 200 | gl2_source_node: b70c4d8f-2aac-491a-9966-5cc35da7e96d | resource: /posts |
timestamp: 2015-06-05T10:39:29.036Z | http_method: GET | took_ms: 73 | _id: 24bdc4c0-0b6f-11e5-a8e6-56847afe9799 | gl2_source_input: 556ed17be4b0601d88cba7c1
| action: index | user_id: 6476752 | streams: [556f1e66e4b0601d88cbfb21] | controller: PostsController }

This makes it really hard to see where one message ends and the other one starts.

@bernd bernd added the bug label Jun 5, 2015

@bernd bernd added this to the 1.1.1 milestone Jun 5, 2015

@joschi joschi self-assigned this Jun 5, 2015

@joschi joschi closed this in 814e1bf Jun 5, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment