alertmanager icon indicating copy to clipboard operation
alertmanager copied to clipboard

feat: added newrelic receiver

Open haihongren opened this issue 4 years ago • 17 comments

Hey guys

I am working for New Relic. I have added the code for the newrelic receiver. Could you please review the PR and advise me the next step.

Thanks, Haihong

haihongren avatar Jun 28 '21 15:06 haihongren

Hi @beorn7

I found your name from other PR. Could you please help to review this PR?

It passed all tests except "test_frontend". I think it is related to the change to "template/default.tmpl". Not sure how to fix it on my end. My local test passed successfully.

Thanks in advance! Haihong

haihongren avatar Jun 30 '21 04:06 haihongren

Thanks for your contribution.

However, I'm not the maintainer of this repo. I helped a bit on a best effort basis, but right now, I have zero time left to do things here.

@simonpasquier could you look at this or delegate?

beorn7 avatar Jun 30 '21 10:06 beorn7

Thanks @beorn7

@simonpasquier Please advise when you have a chance. Thanks!

haihongren avatar Jul 02 '21 04:07 haihongren

I would review this later, in the mean time I have added a comment. it also seems that the documentation is completely missing.

@roidelapluie Thanks for pointing out the missing documentation. How do I provide the documentation? in what format?

haihongren avatar Aug 05 '21 02:08 haihongren

In markdown, in the docs/ directory

roidelapluie avatar Aug 06 '21 10:08 roidelapluie

@roidelapluie The New Relic receiver documentation is included in docs/configuration.md now. Thanks!

haihongren avatar Aug 17 '21 00:08 haihongren

@roidelapluie One of the customers really wants to have this feature merged into the master so that they could use in production. Could you please review at your earliest? Thanks.

haihongren avatar Oct 26 '21 06:10 haihongren

As a side note, could you please sign the DCO, @haihongren ?

RichiH avatar Oct 27 '21 08:10 RichiH

@RichiH Thanks for the comment. DCO signed for the commit.

haihongren avatar Oct 31 '21 23:10 haihongren

is it possible to have a test account at NR to test this?

roidelapluie avatar Nov 10 '21 17:11 roidelapluie

@roidelapluie I have added prometheus-team email address as an NR user. You should receive an email invite at the prometheus-team email account.

haihongren avatar Nov 15 '21 11:11 haihongren

@roidelapluie Is there anything else you need to proceed with the PR?

haihongren avatar Dec 01 '21 05:12 haihongren

Thanks! I finally have some time to dig into this.

Do you know how I can create an API key that works? I currently get 403 with the key I created.

roidelapluie avatar Dec 06 '21 21:12 roidelapluie

I also wonder if we should use the logs api or the incidents API.

roidelapluie avatar Dec 06 '21 21:12 roidelapluie

I also wonder if we should use the logs api or the incidents API.

@roidelapluie Logs api allows user to collect alerts, generate report/dashboard for alerts, even take further action if required.

I would avoid that and add the ability to pass the license key explicitly. We should not put that burden to users. @roidelapluie agreed. I removed the Headers setting option. User will use api_key to provide license key explicitly.

haihongren avatar Jul 24 '23 07:07 haihongren

Hi guys, any update on this?

Conejsksk avatar Aug 09 '23 10:08 Conejsksk

Hi, can someone please review the PR? thanks

haihongren avatar Oct 04 '23 23:10 haihongren