Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/steadybit/extension-newrelic
https://github.com/steadybit/extension-newrelic
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/steadybit/extension-newrelic
- Owner: steadybit
- License: mit
- Created: 2023-12-20T13:22:53.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-16T07:41:23.000Z (26 days ago)
- Last Synced: 2025-01-29T05:32:35.154Z (13 days ago)
- Language: Go
- Homepage: https://hub.steadybit.com/extension/com.steadybit.extension_newrelic
- Size: 390 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Steadybit extension-newrelic
A [Steadybit](https://www.steadybit.com/) extension for [New Relic](https://newrelic.com).
Learn about the capabilities of this extension in our [Reliability Hub](https://hub.steadybit.com/extension/com.steadybit.extension_newrelic).
## Configuration
| Environment Variable | Helm value | Meaning | Required | Default |
|-------------------------------------------------------|----------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|----------|---------|
| `STEADYBIT_EXTENSION_API_BASE_URL` | `newrelic.apiBaseUrl` | The New Relic API Base Url, like 'https://api.newrelic.com' or 'https://api.eu.newrelic.com' | yes | |
| `STEADYBIT_EXTENSION_API_KEY` | `newrelic.apiKey` | The New Relic [API Key](https://docs.newrelic.com/docs/apis/intro-apis/new-relic-api-keys/), Type: USER | yes | |
| `STEADYBIT_EXTENSION_INSIGHTS_COLLECTOR_API_BASE_URL` | `newrelic.insightsCollectorApiBaseUrl` | The New Relic Ingest API Base Url, like 'https://insights-collector.newrelic.com' or 'https://insights-collector.eu01.nr-data.net' | yes | |
| `STEADYBIT_EXTENSION_INSIGHTS_COLLECTOR_API_KEY` | `newrelic.insightsCollectorApiKey` | The New Relic [Ingest API Key](https://docs.newrelic.com/docs/apis/intro-apis/new-relic-api-keys/), Type: INGEST - LICENSE | yes | |The extension supports all environment variables provided by [steadybit/extension-kit](https://github.com/steadybit/extension-kit#environment-variables).
## Installation
### Kubernetes
Detailed information about agent and extension installation in kubernetes can also be found in
our [documentation](https://docs.steadybit.com/install-and-configure/install-agent/install-on-kubernetes).#### Recommended (via agent helm chart)
All extensions provide a helm chart that is also integrated in the
[helm-chart](https://github.com/steadybit/helm-charts/tree/main/charts/steadybit-agent) of the agent.You must provide additional values to activate this extension.
```
--set extension-newrelic.enabled=true \
--set extension-newrelic.newrelic.apiBaseUrl={{YOUR-API-BASE-URL}} \
--set extension-newrelic.newrelic.apiKey={{YOUR-API-KEY}} \
--set extension-newrelic.newrelic.insightsCollectorApiBaseUrl={{YOUR-INSIGHTS-COLLECTOR-API-BASE-URL}} \
--set extension-newrelic.newrelic.insightsCollectorApiKey={{YOUR-INSIGHTS-COLLECTOR-API-KEY}} \
```Additional configuration options can be found in
the [helm-chart](https://github.com/steadybit/extension-newrelic/blob/main/charts/steadybit-extension-newrelic/values.yaml) of the
extension.#### Alternative (via own helm chart)
If you need more control, you can install the extension via its
dedicated [helm-chart](https://github.com/steadybit/extension-newrelic/blob/main/charts/steadybit-extension-newrelic).```bash
helm repo add steadybit-extension-newrelic https://steadybit.github.io/extension-newrelic
helm repo update
helm upgrade steadybit-extension-newrelic \
--install \
--wait \
--timeout 5m0s \
--create-namespace \
--namespace steadybit-agent \
--set newrelic.apiBaseUrl={{YOUR-API-BASE-URL}} \
--set newrelic.apiKey={{YOUR-API-KEY}} \
--set newrelic.insightsCollectorApiBaseUrl={{YOUR-INSIGHTS-COLLECTOR-API-BASE-URL}} \
--set newrelic.insightsCollectorApiKey={{YOUR-INSIGHTS-COLLECTOR-API-KEY}} \
steadybit-extension-newrelic/steadybit-extension-newrelic
```### Linux Package
Please use
our [agent-linux.sh script](https://docs.steadybit.com/install-and-configure/install-agent/install-on-linux-hosts)
to install the extension on your Linux machine. The script will download the latest version of the extension and install
it using the package manager.After installing, configure the extension by editing `/etc/steadybit/extension-newrelic` and then restart the service.
## Extension registration
Make sure that the extension is registered with the agent. In most cases this is done automatically. Please refer to
the [documentation](https://docs.steadybit.com/install-and-configure/install-agent/extension-registration) for more
information about extension registration and how to verify.