Skip to content
This repository was archived by the owner on Jan 17, 2022. It is now read-only.

Added summary from hits collection#5

Open
robbanp wants to merge 2 commits into
graylog-labs:masterfrom
robbanp:master
Open

Added summary from hits collection#5
robbanp wants to merge 2 commits into
graylog-labs:masterfrom
robbanp:master

Conversation

@robbanp

@robbanp robbanp commented Jul 29, 2016

Copy link
Copy Markdown

So, we can get a brief summary of the alert messages in the incident alarm

Closes #4

@jalogisch

Copy link
Copy Markdown

@robbanp if you would sign the CLA we could merge that PR - if not it will be closed in a week.

thanks

@robbanp

robbanp commented Mar 13, 2018

Copy link
Copy Markdown
Author

@jalogisch CLA? :)

@joschi

joschi commented Mar 13, 2018

Copy link
Copy Markdown
Contributor

@robbanp

robbanp commented Mar 13, 2018

Copy link
Copy Markdown
Author

@jalogisch Done!

@joschi

joschi commented Mar 13, 2018

Copy link
Copy Markdown
Contributor

✅ Confirmed that the CLA has been signed on Jul 17, 2017 3:14:49 PM (probably in the Graylog2 organization instead of graylog-labs).

Comment thread pom.xml
<groupId>org.graylog.plugins</groupId>
<artifactId>graylog-plugin-pagerduty</artifactId>
<version>1.3.1-SNAPSHOT</version>
<version>1.3.2-SNAPSHOT</version>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please revert this unrelated change.

@Override
public Version getVersion() {
return new Version(1, 3, 1, "SNAPSHOT");
return new Version(1, 3, 2, "SNAPSHOT");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please revert this unrelated change.

final String description = "[ " + stream.getTitle() + " ] " + checkResult.getResultDescription() + " - "
+ buildStreamLink(clientUrl, stream);

final List<Message> backlog_items = getAlarmBacklog(checkResult);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please use camelCase for variable names, e. g. backlogItems and backlogSummary.

for (Message message : messages) {
final String msg = message.getMessage();
if (msg.length() > 225) {
sb.append("Message: {").append(msg.substring(0, 255)).append("... } ");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Shouldn't this use the same number in the condition (225) and inside the block (255)?

@joschi joschi self-assigned this Mar 13, 2018
@jalogisch

Copy link
Copy Markdown

@robbanp will you work on the suggestions?

@robbanp

robbanp commented Mar 23, 2018

Copy link
Copy Markdown
Author

@jalogisch I can

@joschi

joschi commented Jun 8, 2018

Copy link
Copy Markdown
Contributor

@robbanp Any news here?

@joschi joschi removed their assignment Aug 1, 2019
@CLAassistant

CLAassistant commented Sep 17, 2019

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Robert Pohl seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

See message details in incident?

4 participants