From 5930f1b2c982a91c66fb57b8cb69858330f0c6de Mon Sep 17 00:00:00 2001 From: marin-h Date: Fri, 30 May 2025 16:56:30 -0300 Subject: [PATCH] fix #1831 --- .../holmesgpt/builtin_toolsets.rst | 6 +++ .../holmesgpt/toolsets/newrelic.rst | 49 +++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 docs/configuration/holmesgpt/toolsets/newrelic.rst diff --git a/docs/configuration/holmesgpt/builtin_toolsets.rst b/docs/configuration/holmesgpt/builtin_toolsets.rst index d58bc9bb1..1ca73e6a2 100644 --- a/docs/configuration/holmesgpt/builtin_toolsets.rst +++ b/docs/configuration/holmesgpt/builtin_toolsets.rst @@ -18,6 +18,7 @@ Builtin Toolsets toolsets/internet toolsets/kafka toolsets/kubernetes + toolsets/newrelic toolsets/notion toolsets/opensearch_logs toolsets/opensearch_status @@ -100,6 +101,11 @@ by the user by providing credentials or API keys to external systems. :class-card: sd-bg-light sd-bg-text-light :link: toolsets/kubernetes :link-type: doc + + .. grid-item-card:: :octicon:`cpu;1em;` New Relic + :class-card: sd-bg-light sd-bg-text-light + :link: toolsets/newrelic + :link-type: doc .. grid-item-card:: :octicon:`cpu;1em;` Notion :class-card: sd-bg-light sd-bg-text-light diff --git a/docs/configuration/holmesgpt/toolsets/newrelic.rst b/docs/configuration/holmesgpt/toolsets/newrelic.rst new file mode 100644 index 000000000..2c42437ad --- /dev/null +++ b/docs/configuration/holmesgpt/toolsets/newrelic.rst @@ -0,0 +1,49 @@ +New Relic +========= + +By enabling this toolset, HolmesGPT will be able to pull traces and logs from New Relic for analysis. + +Configuration +------------- + +.. code-block:: yaml + + holmes: + toolsets: + newrelic: + enabled: true + config: + nr_api_key: ****** + nr_account_id: ****** + +Below is a description of the configuration fields: + +.. list-table:: + :header-rows: 1 + :widths: 20 80 + + * - Config key + - Description + * - nr_api_key + - Your New Relic API key with necessary permissions to access traces and logs + * - nr_account_id + - Your New Relic account ID + +For more details on New Relic's API and authentication methods, refer to the `New Relic API documentation `_. + +.. include:: ./_toolset_configuration.inc.rst + +Capabilities +------------ +.. include:: ./_toolset_capabilities.inc.rst + +.. list-table:: + :header-rows: 1 + :widths: 30 70 + + * - Tool Name + - Description + * - newrelic_get_logs + - Retrieve logs from New Relic for a specific application and time range + * - newrelic_get_traces + - Retrieve traces from New Relic based on duration threshold or specific trace ID \ No newline at end of file