-
Notifications
You must be signed in to change notification settings - Fork 461
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
docs: Provide New Relic scaler #591
Conversation
Signed-off-by: Joshua Jackson <joshua.jackson@jobvite-inc.com>
Supporting documentation for: kedacore/keda#2286 and kedacore/keda#2290 |
…iona and set values Signed-off-by: Joshua Jackson <joshua.jackson@jobvite-inc.com>
Signed-off-by: Joshua Jackson <joshua.jackson@jobvite-inc.com>
Signed-off-by: Joshua Jackson <joshua.jackson@jobvite-inc.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the prefix nr
required? I mean, this is New Relic scaler, so I understand that parameters are related with it.
WDYT?
BTW, thanks for this amazing contribution!! ❤️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did a first run, but mainly nits - THanks for your PR!
…bit more look at the code Signed-off-by: Joshua Jackson <joshua.jackson@jobvite-inc.com>
…ew Relic Signed-off-by: Joshua Jackson <joshua.jackson@jobvite-inc.com>
Signed-off-by: Joshua Jackson <joshua.jackson@jobvite-inc.com>
…riable> names Signed-off-by: Joshua Jackson <joshua.jackson@jobvite-inc.com>
… newrelic Signed-off-by: Joshua Jackson <joshua.jackson@jobvite-inc.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few remarks
Signed-off-by: Joshua Jackson <joshua.jackson@jobvite-inc.com>
Signed-off-by: Joshua Jackson <joshua.jackson@jobvite-inc.com>
…work natively Signed-off-by: Joshua Jackson <joshua.jackson@jobvite-inc.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost there, just a few alignments.
Thanks!
Signed-off-by: Joshua Jackson <joshua.jackson@jobvite-inc.com>
hi @JoshuaJackson-jobvite, |
Done, thanks for the heads up that 2.5 was marked/released. Updated the main message for the pr to reflect the same change to 2.6 instead of 2.5 as well. |
Signed-off-by: Joshua Jackson <joshua.jackson@jobvite-inc.com>
Don't forget about this consistency comment please? And thank you for all your effort! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Requesting some consistency changes as per #591 (comment)
Signed-off-by: Joshua Jackson <joshua.jackson@jobvite-inc.com>
@tomkerkhove hopefully the new update is more in line with what you are looking for. |
…everaged n the crd, no reason to really mention it as such Signed-off-by: Joshua Jackson <joshua.jackson@jobvite-inc.com>
Thanks a ton @JoshuaJackson-jobvite ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🎉
Thanks for this!
account: 1234567 | ||
# Required: QueryKey - Api key to connect to New Relic | ||
queryKey: "NRAK-xxxxxxxxxxxxxxxxxxxxxxxxxxx" | ||
# Optional: nrRegion - Region to query data for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be nice, to mention that US
is default in here as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shall I rename queryKey to userApiKey to make it more similar to the name it have in new relic?
In new relic this is 'ApiKey' of type 'User' it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We now mention that US is the default in this yaml section
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see noDataErr
in here and I'd name it probably noDataError
or somethig similar, no need to shorten it here. I
Agreed, I'm changing this to noDataError in the scaler. |
Why do we need this change? ======================= A new property was added for what to do when No data is returned by the nrql message. Need to document this What effects does this change have? ======================= * Add noDataError information for users * Update the yaml section to mention the default value for region is US Signed-off-by: Joshua Jackson <joshua.jackson@jobvite-inc.com>
that's explicit in the documentation Signed-off-by: Joshua Jackson <joshua.jackson@jobvite-inc.com>
…ed to add Signed-off-by: Joshua Jackson <joshua.jackson@jobvite-inc.com>
# Required: metricName | ||
metricName: "duration" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
metricName
is not being used anymore
- `account` - The account within New Relic that the request should be targeted against. | ||
- `queryKey` - The API key that will be leveraged to connect to New Relic and make requests. [official documentation](https://docs.newrelic.com/docs/apis/intro-apis/new-relic-api-keys/) | ||
- `region` - The region to connect to for the New Relic apis. (Values: `LOCAL`, `EU`, `STAGING`, `US`, Default: `US`, Optional) | ||
- `metricName` - The metric to pull from the query result. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above
Signed-off-by: Joshua Jackson <joshua.jackson@jobvite-inc.com>
Signed-off-by: Joshua Jackson <joshua.jackson@jobvite-inc.com> Signed-off-by: Daniel Yavorovych <daniel@dysnix.com>
Signed-off-by: Joshua Jackson <joshua.jackson@jobvite-inc.com> Signed-off-by: Daniel Yavorovych <daniel@dysnix.com>
Signed-off-by: Joshua Jackson <joshua.jackson@jobvite-inc.com> Signed-off-by: Daniel Yavorovych <daniel@dysnix.com>
Signed-off-by: Joshua Jackson <joshua.jackson@jobvite-inc.com> Signed-off-by: Daniel Yavorovych <daniel@dysnix.com>
Why do we need this change?
Newrelic is a common Application Performance Monitoring(APM) tool that provides capabilities for team's to take relevant actions based on the gathered data/metrics from within their system.
What effects does this change have?
Checklist
Relates to kedacore/keda#2387
Relates to kedacore/keda#2290