holmesgpt 0.12.3__tar.gz → 0.18.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- holmesgpt-0.18.0/LICENSE +178 -0
- holmesgpt-0.18.0/PKG-INFO +276 -0
- holmesgpt-0.18.0/README.md +220 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/__init__.py +1 -1
- holmesgpt-0.18.0/holmes/clients/robusta_client.py +54 -0
- holmesgpt-0.18.0/holmes/common/env_vars.py +122 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/config.py +192 -113
- holmesgpt-0.18.0/holmes/core/config.py +5 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/core/conversations.py +84 -14
- holmesgpt-0.18.0/holmes/core/feedback.py +191 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/core/investigation.py +35 -31
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/core/investigation_structured_output.py +12 -0
- holmesgpt-0.18.0/holmes/core/llm.py +748 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/core/models.py +112 -2
- holmesgpt-0.18.0/holmes/core/openai_formatting.py +124 -0
- holmesgpt-0.18.0/holmes/core/prompt.py +121 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/core/safeguards.py +4 -4
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/core/supabase_dal.py +341 -107
- holmesgpt-0.18.0/holmes/core/todo_tasks_formatter.py +51 -0
- holmesgpt-0.18.0/holmes/core/tool_calling_llm.py +1160 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/core/tools.py +342 -34
- holmesgpt-0.18.0/holmes/core/tools_utils/token_counting.py +21 -0
- holmesgpt-0.18.0/holmes/core/tools_utils/tool_context_window_limiter.py +39 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/core/tools_utils/tool_executor.py +8 -15
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/core/tools_utils/toolset_utils.py +7 -2
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/core/toolset_manager.py +199 -11
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/core/tracing.py +89 -16
- holmesgpt-0.18.0/holmes/core/transformers/__init__.py +23 -0
- holmesgpt-0.18.0/holmes/core/transformers/base.py +62 -0
- holmesgpt-0.18.0/holmes/core/transformers/llm_summarize.py +174 -0
- holmesgpt-0.18.0/holmes/core/transformers/registry.py +122 -0
- holmesgpt-0.18.0/holmes/core/transformers/transformer.py +31 -0
- holmesgpt-0.18.0/holmes/core/truncation/compaction.py +94 -0
- holmesgpt-0.18.0/holmes/core/truncation/dal_truncation_utils.py +23 -0
- holmesgpt-0.18.0/holmes/core/truncation/input_context_window_limiter.py +218 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/interactive.py +402 -51
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/main.py +42 -38
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/destinations/slack/plugin.py +19 -9
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/prompts/__init__.py +7 -1
- holmesgpt-0.18.0/holmes/plugins/prompts/_ai_safety.jinja2 +43 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/prompts/_current_date_time.jinja2 +1 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/prompts/_default_log_prompt.jinja2 +4 -2
- holmesgpt-0.18.0/holmes/plugins/prompts/_fetch_logs.jinja2 +84 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/prompts/_general_instructions.jinja2 +26 -40
- holmesgpt-0.18.0/holmes/plugins/prompts/_permission_errors.jinja2 +6 -0
- holmesgpt-0.18.0/holmes/plugins/prompts/_runbook_instructions.jinja2 +33 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/prompts/_toolsets_instructions.jinja2 +22 -14
- holmesgpt-0.18.0/holmes/plugins/prompts/base_user_prompt.jinja2 +7 -0
- holmesgpt-0.18.0/holmes/plugins/prompts/conversation_history_compaction.jinja2 +89 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/prompts/generic_ask.jinja2 +7 -4
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/prompts/generic_ask_conversation.jinja2 +1 -1
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/prompts/generic_ask_for_issue_conversation.jinja2 +1 -1
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/prompts/generic_investigation.jinja2 +1 -1
- holmesgpt-0.18.0/holmes/plugins/prompts/investigation_procedure.jinja2 +249 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/prompts/kubernetes_workload_ask.jinja2 +4 -3
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/prompts/kubernetes_workload_chat.jinja2 +0 -1
- holmesgpt-0.18.0/holmes/plugins/runbooks/CLAUDE.md +85 -0
- holmesgpt-0.18.0/holmes/plugins/runbooks/README.md +46 -0
- holmesgpt-0.18.0/holmes/plugins/runbooks/__init__.py +243 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/runbooks/catalog.json +2 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/__init__.py +56 -26
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/aks-node-health.yaml +46 -8
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/aks.yaml +64 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/argocd.yaml +5 -2
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/atlas_mongodb/mongodb_atlas.py +53 -24
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/apis/azure_sql_api.py +1 -1
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/apis/connection_failure_api.py +2 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/azure_sql_toolset.py +0 -1
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/tools/analyze_connection_failures.py +12 -7
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/tools/analyze_database_connections.py +11 -5
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/tools/analyze_database_health_status.py +11 -5
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/tools/analyze_database_performance.py +10 -5
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/tools/analyze_database_storage.py +11 -5
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/tools/get_active_alerts.py +12 -6
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/tools/get_slow_queries.py +11 -5
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/tools/get_top_cpu_queries.py +11 -5
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/tools/get_top_data_io_queries.py +11 -5
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/tools/get_top_log_io_queries.py +11 -5
- holmesgpt-0.18.0/holmes/plugins/toolsets/bash/argocd/__init__.py +65 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/bash/argocd/constants.py +120 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/bash/aws/__init__.py +66 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/bash/aws/constants.py +529 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/bash/azure/__init__.py +56 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/bash/azure/constants.py +339 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/bash/bash_instructions.jinja2 +13 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/bash_toolset.py +63 -21
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/common/bash.py +15 -9
- holmesgpt-0.18.0/holmes/plugins/toolsets/bash/common/bash_command.py +131 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/common/stringify.py +14 -1
- holmesgpt-0.18.0/holmes/plugins/toolsets/bash/common/validators.py +115 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/bash/docker/__init__.py +59 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/bash/docker/constants.py +255 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/bash/helm/__init__.py +61 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/bash/helm/constants.py +92 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/bash/kubectl/__init__.py +101 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/kubectl/constants.py +0 -14
- holmesgpt-0.18.0/holmes/plugins/toolsets/bash/kubectl/kubectl_describe.py +48 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/bash/kubectl/kubectl_events.py +40 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/bash/kubectl/kubectl_get.py +48 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/bash/kubectl/kubectl_logs.py +39 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/kubectl/kubectl_run.py +1 -1
- holmesgpt-0.18.0/holmes/plugins/toolsets/bash/kubectl/kubectl_top.py +42 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/bash/parse_command.py +177 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/bash/utilities/base64_util.py +12 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/bash/utilities/cut.py +12 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/bash/utilities/grep/__init__.py +10 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/bash/utilities/head.py +12 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/bash/utilities/jq.py +79 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/bash/utilities/sed.py +164 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/bash/utilities/sort.py +15 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/bash/utilities/tail.py +12 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/bash/utilities/tr.py +57 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/bash/utilities/uniq.py +12 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/bash/utilities/wc.py +12 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/cilium.yaml +284 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/confluence.yaml +2 -2
- holmesgpt-0.18.0/holmes/plugins/toolsets/coralogix/api.py +173 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/coralogix/coralogix.jinja2 +14 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/coralogix/toolset_coralogix.py +219 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/coralogix/utils.py +144 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/datadog/datadog_api.py +715 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/datadog/datadog_general_instructions.jinja2 +208 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/datadog/datadog_logs_instructions.jinja2 +87 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/datadog/datadog_metrics_instructions.jinja2 +86 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/datadog/datadog_models.py +57 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/datadog/datadog_rds_instructions.jinja2 +82 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/datadog/datadog_url_utils.py +213 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/datadog/instructions_datadog_traces.jinja2 +188 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/datadog/toolset_datadog_general.py +898 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/datadog/toolset_datadog_logs.py +303 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/datadog/toolset_datadog_metrics.py +736 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/datadog/toolset_datadog_traces.py +714 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/docker.yaml +1 -1
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/git.py +70 -55
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/grafana/base_grafana_toolset.py +16 -3
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/grafana/common.py +15 -4
- holmesgpt-0.18.0/holmes/plugins/toolsets/grafana/grafana_tempo_api.py +454 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/grafana/loki/instructions.jinja2 +25 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/grafana/loki/toolset_grafana_loki.py +188 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/grafana/toolset_grafana.py +327 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/grafana/toolset_grafana_dashboard.jinja2 +49 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/grafana/toolset_grafana_tempo.jinja2 +247 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/grafana/toolset_grafana_tempo.py +1101 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/grafana/trace_parser.py +1 -1
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/helm.yaml +1 -1
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/internet/internet.py +9 -7
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/internet/notion.py +8 -6
- holmesgpt-0.18.0/holmes/plugins/toolsets/investigator/core_investigation.py +154 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/investigator/investigator_instructions.jinja2 +249 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/investigator/model.py +16 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/kafka.py +48 -35
- holmesgpt-0.18.0/holmes/plugins/toolsets/kubernetes.yaml +413 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/kubernetes_logs.py +855 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/kubernetes_logs.yaml +33 -1
- holmesgpt-0.18.0/holmes/plugins/toolsets/logging_utils/logging_api.py +382 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/mcp/toolset_mcp.py +294 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/newrelic/new_relic_api.py +125 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/newrelic/newrelic.jinja2 +41 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/newrelic/newrelic.py +223 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/opensearch/opensearch.py +19 -14
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/opensearch/opensearch_logs.py +20 -13
- holmesgpt-0.18.0/holmes/plugins/toolsets/opensearch/opensearch_ppl_query_docs.jinja2 +1616 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/opensearch/opensearch_query_assist.py +78 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/opensearch/opensearch_query_assist_instructions.jinja2 +223 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/opensearch/opensearch_traces.py +22 -18
- holmesgpt-0.18.0/holmes/plugins/toolsets/openshift.yaml +283 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/prometheus/prometheus.py +1612 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/prometheus/prometheus_instructions.jinja2 +87 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/prometheus/utils.py +28 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/rabbitmq/toolset_rabbitmq.py +18 -9
- holmesgpt-0.18.0/holmes/plugins/toolsets/robusta/__init__.py +0 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/robusta/robusta.py +412 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/robusta/robusta_instructions.jinja2 +41 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/runbook/__init__.py +0 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/runbook/runbook_fetcher.py +269 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/service_discovery.py +2 -2
- holmesgpt-0.18.0/holmes/plugins/toolsets/servicenow_tables/instructions.jinja2 +83 -0
- holmesgpt-0.18.0/holmes/plugins/toolsets/servicenow_tables/servicenow_tables.py +426 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/slab.yaml +2 -2
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/utils.py +96 -1
- holmesgpt-0.18.0/holmes/utils/__init__.py +0 -0
- holmesgpt-0.18.0/holmes/utils/colors.py +7 -0
- holmesgpt-0.18.0/holmes/utils/config_utils.py +91 -0
- holmesgpt-0.18.0/holmes/utils/connection_utils.py +31 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/utils/console/consts.py +5 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/utils/console/logging.py +6 -1
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/utils/console/result.py +12 -1
- holmesgpt-0.18.0/holmes/utils/default_toolset_installation_guide.jinja2 +23 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/utils/env.py +7 -0
- holmesgpt-0.18.0/holmes/utils/global_instructions.py +67 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/utils/holmes_status.py +2 -1
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/utils/holmes_sync_toolsets.py +0 -2
- holmesgpt-0.18.0/holmes/utils/krr_utils.py +188 -0
- holmesgpt-0.18.0/holmes/utils/llms.py +20 -0
- holmesgpt-0.18.0/holmes/utils/log.py +15 -0
- holmesgpt-0.18.0/holmes/utils/sentry_helper.py +63 -0
- holmesgpt-0.18.0/holmes/utils/stream.py +150 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/version.py +36 -16
- holmesgpt-0.18.0/pyproject.toml +167 -0
- holmesgpt-0.12.3/LICENSE.txt +0 -21
- holmesgpt-0.12.3/PKG-INFO +0 -400
- holmesgpt-0.12.3/README.md +0 -339
- holmesgpt-0.12.3/holmes/clients/robusta_client.py +0 -24
- holmesgpt-0.12.3/holmes/common/env_vars.py +0 -52
- holmesgpt-0.12.3/holmes/core/llm.py +0 -257
- holmesgpt-0.12.3/holmes/core/openai_formatting.py +0 -51
- holmesgpt-0.12.3/holmes/core/performance_timing.py +0 -72
- holmesgpt-0.12.3/holmes/core/prompt.py +0 -42
- holmesgpt-0.12.3/holmes/core/tool_calling_llm.py +0 -849
- holmesgpt-0.12.3/holmes/plugins/prompts/_fetch_logs.jinja2 +0 -40
- holmesgpt-0.12.3/holmes/plugins/prompts/_runbook_instructions.jinja2 +0 -13
- holmesgpt-0.12.3/holmes/plugins/runbooks/README.md +0 -22
- holmesgpt-0.12.3/holmes/plugins/runbooks/__init__.py +0 -100
- holmesgpt-0.12.3/holmes/plugins/toolsets/aws.yaml +0 -76
- holmesgpt-0.12.3/holmes/plugins/toolsets/bash/bash_instructions.jinja2 +0 -14
- holmesgpt-0.12.3/holmes/plugins/toolsets/bash/common/validators.py +0 -24
- holmesgpt-0.12.3/holmes/plugins/toolsets/bash/grep/__init__.py +0 -52
- holmesgpt-0.12.3/holmes/plugins/toolsets/bash/kubectl/__init__.py +0 -100
- holmesgpt-0.12.3/holmes/plugins/toolsets/bash/kubectl/kubectl_describe.py +0 -66
- holmesgpt-0.12.3/holmes/plugins/toolsets/bash/kubectl/kubectl_events.py +0 -88
- holmesgpt-0.12.3/holmes/plugins/toolsets/bash/kubectl/kubectl_get.py +0 -108
- holmesgpt-0.12.3/holmes/plugins/toolsets/bash/kubectl/kubectl_logs.py +0 -20
- holmesgpt-0.12.3/holmes/plugins/toolsets/bash/kubectl/kubectl_top.py +0 -81
- holmesgpt-0.12.3/holmes/plugins/toolsets/bash/parse_command.py +0 -103
- holmesgpt-0.12.3/holmes/plugins/toolsets/coralogix/api.py +0 -158
- holmesgpt-0.12.3/holmes/plugins/toolsets/coralogix/toolset_coralogix_logs.py +0 -106
- holmesgpt-0.12.3/holmes/plugins/toolsets/coralogix/utils.py +0 -181
- holmesgpt-0.12.3/holmes/plugins/toolsets/datadog/datadog_api.py +0 -161
- holmesgpt-0.12.3/holmes/plugins/toolsets/datadog/datadog_metrics_instructions.jinja2 +0 -26
- holmesgpt-0.12.3/holmes/plugins/toolsets/datadog/datadog_traces_formatter.py +0 -310
- holmesgpt-0.12.3/holmes/plugins/toolsets/datadog/instructions_datadog_traces.jinja2 +0 -51
- holmesgpt-0.12.3/holmes/plugins/toolsets/datadog/toolset_datadog_logs.py +0 -267
- holmesgpt-0.12.3/holmes/plugins/toolsets/datadog/toolset_datadog_metrics.py +0 -488
- holmesgpt-0.12.3/holmes/plugins/toolsets/datadog/toolset_datadog_traces.py +0 -689
- holmesgpt-0.12.3/holmes/plugins/toolsets/grafana/grafana_api.py +0 -31
- holmesgpt-0.12.3/holmes/plugins/toolsets/grafana/tempo_api.py +0 -124
- holmesgpt-0.12.3/holmes/plugins/toolsets/grafana/toolset_grafana.py +0 -102
- holmesgpt-0.12.3/holmes/plugins/toolsets/grafana/toolset_grafana_loki.py +0 -105
- holmesgpt-0.12.3/holmes/plugins/toolsets/grafana/toolset_grafana_tempo.jinja2 +0 -10
- holmesgpt-0.12.3/holmes/plugins/toolsets/grafana/toolset_grafana_tempo.py +0 -299
- holmesgpt-0.12.3/holmes/plugins/toolsets/kubernetes.yaml +0 -255
- holmesgpt-0.12.3/holmes/plugins/toolsets/kubernetes_logs.py +0 -426
- holmesgpt-0.12.3/holmes/plugins/toolsets/logging_utils/logging_api.py +0 -223
- holmesgpt-0.12.3/holmes/plugins/toolsets/mcp/toolset_mcp.py +0 -135
- holmesgpt-0.12.3/holmes/plugins/toolsets/newrelic.py +0 -222
- holmesgpt-0.12.3/holmes/plugins/toolsets/prometheus/prometheus.py +0 -837
- holmesgpt-0.12.3/holmes/plugins/toolsets/prometheus/prometheus_instructions.jinja2 +0 -38
- holmesgpt-0.12.3/holmes/plugins/toolsets/robusta/robusta.py +0 -235
- holmesgpt-0.12.3/holmes/plugins/toolsets/robusta/robusta_instructions.jinja2 +0 -24
- holmesgpt-0.12.3/holmes/plugins/toolsets/runbook/runbook_fetcher.py +0 -78
- holmesgpt-0.12.3/holmes/plugins/toolsets/servicenow/install.md +0 -37
- holmesgpt-0.12.3/holmes/plugins/toolsets/servicenow/instructions.jinja2 +0 -3
- holmesgpt-0.12.3/holmes/plugins/toolsets/servicenow/servicenow.py +0 -198
- holmesgpt-0.12.3/holmes/utils/default_toolset_installation_guide.jinja2 +0 -44
- holmesgpt-0.12.3/holmes/utils/global_instructions.py +0 -20
- holmesgpt-0.12.3/holmes/utils/robusta.py +0 -9
- holmesgpt-0.12.3/pyproject.toml +0 -131
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/.git_archival.json +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/common/openshift.py +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/core/__init__.py +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/core/issue.py +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/core/resource_instruction.py +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/core/runbooks.py +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/core/tools_utils/__init__.py +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/__init__.py +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/destinations/__init__.py +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/destinations/slack/__init__.py +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/interfaces.py +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/prompts/_global_instructions.jinja2 +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/prompts/generic_post_processing.jinja2 +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/prompts/generic_ticket.jinja2 +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/prompts/investigation_output_format.jinja2 +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/runbooks/jira.yaml +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/runbooks/kube-prometheus-stack.yaml +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/runbooks/networking/dns_troubleshooting_instructions.md +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/runbooks/upgrade/upgrade_troubleshooting_instructions.md +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/sources/github/__init__.py +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/sources/jira/__init__.py +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/sources/opsgenie/__init__.py +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/sources/pagerduty/__init__.py +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/sources/prometheus/__init__.py +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/sources/prometheus/models.py +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/sources/prometheus/plugin.py +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/atlas_mongodb/instructions.jinja2 +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/__init__.py +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/apis/alert_monitoring_api.py +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/apis/connection_monitoring_api.py +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/apis/storage_analysis_api.py +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/azure_base_toolset.py +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/azure_sql_instructions.jinja2 +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/install.md +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/tools/__init__.py +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/utils.py +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/__init__.py +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/common/config.py +0 -0
- {holmesgpt-0.12.3/holmes/plugins/toolsets/grafana → holmesgpt-0.18.0/holmes/plugins/toolsets/bash/utilities}/__init__.py +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/consts.py +0 -0
- {holmesgpt-0.12.3/holmes/plugins/toolsets/logging_utils → holmesgpt-0.18.0/holmes/plugins/toolsets/grafana}/__init__.py +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/grafana/loki_api.py +0 -0
- {holmesgpt-0.12.3/holmes/plugins/toolsets/opensearch → holmesgpt-0.18.0/holmes/plugins/toolsets/investigator}/__init__.py +0 -0
- {holmesgpt-0.12.3/holmes/plugins/toolsets/robusta → holmesgpt-0.18.0/holmes/plugins/toolsets/logging_utils}/__init__.py +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/logging_utils/types.py +0 -0
- {holmesgpt-0.12.3/holmes/plugins/toolsets/runbook → holmesgpt-0.18.0/holmes/plugins/toolsets/newrelic}/__init__.py +0 -0
- {holmesgpt-0.12.3/holmes/utils → holmesgpt-0.18.0/holmes/plugins/toolsets/opensearch}/__init__.py +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/opensearch/opensearch_traces_instructions.jinja2 +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/opensearch/opensearch_utils.py +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/rabbitmq/api.py +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/toolsets/rabbitmq/rabbitmq_instructions.jinja2 +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/plugins/utils.py +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/utils/cache.py +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/utils/cert_utils.py +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/utils/definitions.py +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/utils/file_utils.py +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/utils/markdown_utils.py +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/utils/pydantic_utils.py +0 -0
- {holmesgpt-0.12.3 → holmesgpt-0.18.0}/holmes/utils/tags.py +0 -0
holmesgpt-0.18.0/LICENSE
ADDED
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
Copyright 2025 Robusta Dev LTD
|
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: holmesgpt
|
|
3
|
+
Version: 0.18.0
|
|
4
|
+
Summary:
|
|
5
|
+
Author: Natan Yellin
|
|
6
|
+
Author-email: natan@robusta.dev
|
|
7
|
+
Requires-Python: >=3.10,<4.0
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
11
|
+
Requires-Dist: ag-ui-protocol (>=0.1.9,<0.2.0)
|
|
12
|
+
Requires-Dist: azure-core (>=1.34.0,<2.0.0)
|
|
13
|
+
Requires-Dist: azure-identity (>=1.23.0,<2.0.0)
|
|
14
|
+
Requires-Dist: azure-mgmt-alertsmanagement (>=1.0.0,<2.0.0)
|
|
15
|
+
Requires-Dist: azure-mgmt-monitor (>=7.0.0b1,<8.0.0)
|
|
16
|
+
Requires-Dist: azure-mgmt-resource (>=23.3.0,<24.0.0)
|
|
17
|
+
Requires-Dist: azure-mgmt-sql (>=4.0.0b21,<5.0.0)
|
|
18
|
+
Requires-Dist: azure-monitor-query (>=1.2.0,<2.0.0)
|
|
19
|
+
Requires-Dist: backoff (>=2.2.1,<3.0.0)
|
|
20
|
+
Requires-Dist: boto3 (>=1.34.145,<2.0.0)
|
|
21
|
+
Requires-Dist: bs4 (>=0.0.2,<0.0.3)
|
|
22
|
+
Requires-Dist: cachetools (>=5.5.0,<6.0.0)
|
|
23
|
+
Requires-Dist: certifi (>=2024.7.4,<2025.0.0)
|
|
24
|
+
Requires-Dist: colorlog (>=6.8.2,<7.0.0)
|
|
25
|
+
Requires-Dist: confluent-kafka (>=2.6.1,<3.0.0)
|
|
26
|
+
Requires-Dist: fastapi (>=0.116,<0.117)
|
|
27
|
+
Requires-Dist: google-cloud-aiplatform (>=1.38)
|
|
28
|
+
Requires-Dist: httpx[socks] (<0.28)
|
|
29
|
+
Requires-Dist: humanize (>=4.9.0,<5.0.0)
|
|
30
|
+
Requires-Dist: jinja2 (>=3.1.2,<4.0.0)
|
|
31
|
+
Requires-Dist: kubernetes (>=32.0.1,<33.0.0)
|
|
32
|
+
Requires-Dist: litellm (==1.77.1)
|
|
33
|
+
Requires-Dist: markdown (>=3.6,<4.0)
|
|
34
|
+
Requires-Dist: markdownify (>=1.1.0,<2.0.0)
|
|
35
|
+
Requires-Dist: mcp (==v1.12.2)
|
|
36
|
+
Requires-Dist: openai (>=1.6.1,<1.100.0)
|
|
37
|
+
Requires-Dist: opensearch-py (>=2.8.0,<3.0.0)
|
|
38
|
+
Requires-Dist: postgrest (==0.16.8)
|
|
39
|
+
Requires-Dist: prometrix (==0.2.5)
|
|
40
|
+
Requires-Dist: prompt-toolkit (>=3.0.51,<4.0.0)
|
|
41
|
+
Requires-Dist: pydantic (>=2.7,<3.0)
|
|
42
|
+
Requires-Dist: pygments (>=2.18.0,<3.0.0)
|
|
43
|
+
Requires-Dist: pyodbc (>=5.0.1,<6.0.0)
|
|
44
|
+
Requires-Dist: python-benedict (>=0.33.1,<0.34.0)
|
|
45
|
+
Requires-Dist: requests (>=2.32.4,<3.0.0)
|
|
46
|
+
Requires-Dist: requests-aws4auth (>=1.3.1,<2.0.0)
|
|
47
|
+
Requires-Dist: rich (>=13.7.1,<14.0.0)
|
|
48
|
+
Requires-Dist: sentry-sdk[fastapi] (>=2.20.0,<3.0.0)
|
|
49
|
+
Requires-Dist: strenum (>=0.4.15,<0.5.0)
|
|
50
|
+
Requires-Dist: supabase (>=2.5,<3.0)
|
|
51
|
+
Requires-Dist: tenacity (>=9.1.2,<10.0.0)
|
|
52
|
+
Requires-Dist: typer (>=0.15.4,<0.16.0)
|
|
53
|
+
Requires-Dist: uvicorn (>=0.30,<0.31)
|
|
54
|
+
Description-Content-Type: text/markdown
|
|
55
|
+
|
|
56
|
+
<div align="center">
|
|
57
|
+
<h1 align="center">AI Agent for Cloud Troubleshooting and Alert Investigation</h1>
|
|
58
|
+
|
|
59
|
+
HolmesGPT is an AI agent for investigating problems in your cloud, finding the root cause, and suggesting remediations. It has dozens of built-in integrations for cloud providers, observability tools, and on-call systems.
|
|
60
|
+
|
|
61
|
+
[](https://www.bestpractices.dev/projects/11586)
|
|
62
|
+
|
|
63
|
+
>🎉 **HolmesGPT is now a CNCF Sandbox Project!**
|
|
64
|
+
HolmesGPT was originally created by [Robusta.Dev](https://home.robusta.dev/) and is a CNCF sandbox project.
|
|
65
|
+
|
|
66
|
+
Find more about HolmesGPT's maintainers and adopters [here](./ADOPTERS.md).
|
|
67
|
+
|
|
68
|
+
📚 **[Read the full documentation at holmesgpt.dev](https://holmesgpt.dev/)** for installation guides, tutorials, API reference, and more.
|
|
69
|
+
|
|
70
|
+
<p align="center">
|
|
71
|
+
<a href="#how-it-works"><strong>How it Works</strong></a> |
|
|
72
|
+
<a href="#installation"><strong>Installation</strong></a> |
|
|
73
|
+
<a href="#supported-llm-providers"><strong>LLM Providers</strong></a> |
|
|
74
|
+
<a href="https://www.youtube.com/watch?v=TfQfx65LsDQ"><strong>YouTube Demo</strong></a> |
|
|
75
|
+
<a href="https://deepwiki.com/HolmesGPT/holmesgpt"><img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki"></a>
|
|
76
|
+
</p>
|
|
77
|
+
</div>
|
|
78
|
+
|
|
79
|
+

|
|
80
|
+
|
|
81
|
+
## How it Works
|
|
82
|
+
|
|
83
|
+
HolmesGPT connects AI models with live observability data and organizational knowledge. It uses an **agentic loop** to analyze data from multiple sources and identify possible root causes.
|
|
84
|
+
|
|
85
|
+
<img width="3114" alt="holmesgpt-architecture-diagram" src="https://github.com/user-attachments/assets/f659707e-1958-4add-9238-8565a5e3713a" />
|
|
86
|
+
|
|
87
|
+
### 🔗 Data Sources
|
|
88
|
+
|
|
89
|
+
HolmesGPT integrates with popular observability and cloud platforms. The following data sources ("toolsets") are built-in. [Add your own](#customizing-holmesgpt).
|
|
90
|
+
|
|
91
|
+
| Data Source | Status | Notes |
|
|
92
|
+
|-------------|--------|-------|
|
|
93
|
+
| [<img src="images/integration_logos/argocd-icon.png" alt="ArgoCD" width="20" style="vertical-align: middle;"> **ArgoCD**](https://holmesgpt.dev/data-sources/builtin-toolsets/argocd/) | ✅ | Get status, history and manifests and more of apps, projects and clusters |
|
|
94
|
+
| [<img src="images/integration_logos/aws_rds_logo.png" alt="AWS RDS" width="20" style="vertical-align: middle;"> **AWS RDS**](https://holmesgpt.dev/data-sources/builtin-toolsets/aws/) | ✅ | Fetch events, instances, slow query logs and more |
|
|
95
|
+
| [<img src="images/integration_logos/confluence_logo.png" alt="Confluence" width="20" style="vertical-align: middle;"> **Confluence**](https://holmesgpt.dev/data-sources/builtin-toolsets/confluence/) | ✅ | Private runbooks and documentation |
|
|
96
|
+
| [<img src="images/integration_logos/coralogix-icon.png" alt="Coralogix Logs" width="20" style="vertical-align: middle;"> **Coralogix Logs**](https://holmesgpt.dev/data-sources/builtin-toolsets/coralogix-logs/) | ✅ | Retrieve logs for any resource |
|
|
97
|
+
| [<img src="images/integration_logos/date_time_icon.png" alt="Datetime" width="20" style="vertical-align: middle;"> **Datetime**](https://holmesgpt.dev/data-sources/builtin-toolsets/datetime/) | ✅ | Date and time-related operations |
|
|
98
|
+
| [<img src="images/integration_logos/docker_logo.png" alt="Docker" width="20" style="vertical-align: middle;"> **Docker**](https://holmesgpt.dev/data-sources/builtin-toolsets/docker/) | ✅ | Get images, logs, events, history and more |
|
|
99
|
+
| [<img src="images/integration_logos/github_logo.png" alt="GitHub" width="20" style="vertical-align: middle;"> **GitHub**](https://holmesgpt.dev/data-sources/builtin-toolsets/github/) | 🟡 Beta | Remediate alerts by opening pull requests with fixes |
|
|
100
|
+
| [<img src="images/integration_logos/datadog_logo.png" alt="DataDog" width="20" style="vertical-align: middle;"> **DataDog**](https://holmesgpt.dev/data-sources/builtin-toolsets/datadog/) | 🟡 Beta | Fetches log data from datadog |
|
|
101
|
+
| [<img src="images/integration_logos/grafana_loki-icon.png" alt="Loki" width="20" style="vertical-align: middle;"> **Loki**](https://holmesgpt.dev/data-sources/builtin-toolsets/grafanaloki/) | ✅ | Query logs for Kubernetes resources or any query |
|
|
102
|
+
| [<img src="images/integration_logos/tempo_logo.png" alt="Tempo" width="20" style="vertical-align: middle;"> **Tempo**](https://holmesgpt.dev/data-sources/builtin-toolsets/grafanatempo/) | ✅ | Fetch trace info, debug issues like high latency in application. |
|
|
103
|
+
| [<img src="images/integration_logos/helm_logo.png" alt="Helm" width="20" style="vertical-align: middle;"> **Helm**](https://holmesgpt.dev/data-sources/builtin-toolsets/helm/) | ✅ | Release status, chart metadata, and values |
|
|
104
|
+
| [<img src="images/integration_logos/http-icon.png" alt="Internet" width="20" style="vertical-align: middle;"> **Internet**](https://holmesgpt.dev/data-sources/builtin-toolsets/internet/) | ✅ | Public runbooks, community docs etc |
|
|
105
|
+
| [<img src="images/integration_logos/kafka_logo.png" alt="Kafka" width="20" style="vertical-align: middle;"> **Kafka**](https://holmesgpt.dev/data-sources/builtin-toolsets/kafka/) | ✅ | Fetch metadata, list consumers and topics or find lagging consumer groups |
|
|
106
|
+
| [<img src="images/integration_logos/kubernetes-icon.png" alt="Kubernetes" width="20" style="vertical-align: middle;"> **Kubernetes**](https://holmesgpt.dev/data-sources/builtin-toolsets/kubernetes/) | ✅ | Pod logs, K8s events, and resource status (kubectl describe) |
|
|
107
|
+
| [<img src="images/integration_logos/newrelic_logo.png" alt="NewRelic" width="20" style="vertical-align: middle;"> **NewRelic**](https://holmesgpt.dev/data-sources/builtin-toolsets/newrelic/) | 🟡 Beta | Investigate alerts, query tracing data |
|
|
108
|
+
| [<img src="images/integration_logos/opensearchserverless-icon.png" alt="OpenSearch" width="20" style="vertical-align: middle;"> **OpenSearch**](https://holmesgpt.dev/data-sources/builtin-toolsets/opensearch-status/) | ✅ | Query health, shard, and settings related info of one or more clusters|
|
|
109
|
+
| [<img src="images/integration_logos/prometheus-icon.png" alt="Prometheus" width="20" style="vertical-align: middle;"> **Prometheus**](https://holmesgpt.dev/data-sources/builtin-toolsets/prometheus/) | ✅ | Investigate alerts, query metrics and generate PromQL queries |
|
|
110
|
+
| [<img src="images/integration_logos/rabbit_mq_logo.png" alt="RabbitMQ" width="20" style="vertical-align: middle;"> **RabbitMQ**](https://holmesgpt.dev/data-sources/builtin-toolsets/rabbitmq/) | ✅ | Info about partitions, memory/disk alerts to troubleshoot split-brain scenarios and more |
|
|
111
|
+
| [<img src="images/integration_logos/robusta_logo.png" alt="Robusta" width="20" style="vertical-align: middle;"> **Robusta**](https://holmesgpt.dev/data-sources/builtin-toolsets/robusta/) | ✅ | Multi-cluster monitoring, historical change data, user-configured runbooks, PromQL graphs and more |
|
|
112
|
+
| [<img src="images/integration_logos/slab_logo.png" alt="Slab" width="20" style="vertical-align: middle;"> **Slab**](https://holmesgpt.dev/data-sources/builtin-toolsets/slab/) | ✅ | Team knowledge base and runbooks on demand |
|
|
113
|
+
|
|
114
|
+
### 🚀 End-to-End Automation
|
|
115
|
+
|
|
116
|
+
HolmesGPT can fetch alerts/tickets to investigate from external systems, then write the analysis back to the source or Slack.
|
|
117
|
+
|
|
118
|
+
| Integration | Status | Notes |
|
|
119
|
+
|-------------------------|-----------|-------|
|
|
120
|
+
| Slack | 🟡 Beta | [Demo.](https://www.loom.com/share/afcd81444b1a4adfaa0bbe01c37a4847) Tag HolmesGPT bot in any Slack message |
|
|
121
|
+
| Prometheus/AlertManager | ✅ | Robusta SaaS or HolmesGPT CLI |
|
|
122
|
+
| PagerDuty | ✅ | HolmesGPT CLI only |
|
|
123
|
+
| OpsGenie | ✅ | HolmesGPT CLI only |
|
|
124
|
+
| Jira | ✅ | HolmesGPT CLI only |
|
|
125
|
+
| GitHub | ✅ | HolmesGPT CLI only |
|
|
126
|
+
|
|
127
|
+
## Installation
|
|
128
|
+
|
|
129
|
+
<a href="https://holmesgpt.dev/installation/cli-installation/">
|
|
130
|
+
<img src="images/integration_logos/all-installation-methods.png" alt="All Installation Methods" style="max-width:100%; height:auto;">
|
|
131
|
+
</a>
|
|
132
|
+
|
|
133
|
+
Read the [installation documentation](https://holmesgpt.dev/installation/cli-installation/) to learn how to install HolmesGPT.
|
|
134
|
+
|
|
135
|
+
## Supported LLM Providers
|
|
136
|
+
|
|
137
|
+
<a href="https://holmesgpt.dev/ai-providers/">
|
|
138
|
+
<img src="images/integration_logos/all-integration-providers.png" alt="All Integration Providers" style="max-width:100%; height:auto;">
|
|
139
|
+
</a>
|
|
140
|
+
|
|
141
|
+
Read the [LLM Providers documentation](https://holmesgpt.dev/ai-providers/) to learn how to set up your LLM API key.
|
|
142
|
+
|
|
143
|
+
## Using HolmesGPT
|
|
144
|
+
|
|
145
|
+
- In the Robusta SaaS: Go to [platform.robusta.dev](https://platform.robusta.dev/signup/?utm_source=github&utm_medium=holmesgpt-readme&utm_content=ways_to_use_holmesgpt_section) and use Holmes from your browser
|
|
146
|
+
- With HolmesGPT CLI: [setup an LLM API key](https://holmesgpt.dev/ai-providers/) and ask Holmes a question 👇
|
|
147
|
+
|
|
148
|
+
```bash
|
|
149
|
+
holmes ask "what pods are unhealthy and why?"
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
You can also provide files as context:
|
|
153
|
+
```bash
|
|
154
|
+
holmes ask "summarize the key points in this document" -f ./mydocument.txt
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
You can also load the prompt from a file using the `--prompt-file` option:
|
|
158
|
+
```bash
|
|
159
|
+
holmes ask --prompt-file ~/long-prompt.txt
|
|
160
|
+
|
|
161
|
+
Enter interactive mode to ask follow-up questions:
|
|
162
|
+
```bash
|
|
163
|
+
holmes ask "what pods are unhealthy and why?" --interactive
|
|
164
|
+
# or
|
|
165
|
+
holmes ask "what pods are unhealthy and why?" -i
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
Also supported:
|
|
169
|
+
|
|
170
|
+
<details>
|
|
171
|
+
<summary>HolmesGPT CLI: investigate Prometheus alerts</summary>
|
|
172
|
+
|
|
173
|
+
Pull alerts from AlertManager and investigate them with HolmesGPT:
|
|
174
|
+
|
|
175
|
+
```bash
|
|
176
|
+
holmes investigate alertmanager --alertmanager-url http://localhost:9093
|
|
177
|
+
# if on Mac OS and using the Holmes Docker image👇
|
|
178
|
+
# holmes investigate alertmanager --alertmanager-url http://docker.for.mac.localhost:9093
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
<b>To investigate alerts in your browser, sign up for a free trial of [Robusta SaaS](https://platform.robusta.dev/signup/?utm_source=github&utm_medium=holmesgpt-readme&utm_content=ways_to_use_holmesgpt_section). </b>
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
<b>Optional:</b> port-forward to AlertManager before running the command mentioned above (if running Prometheus inside Kubernetes)
|
|
185
|
+
|
|
186
|
+
```bash
|
|
187
|
+
kubectl port-forward alertmanager-robusta-kube-prometheus-st-alertmanager-0 9093:9093 &
|
|
188
|
+
```
|
|
189
|
+
</details>
|
|
190
|
+
|
|
191
|
+
<details>
|
|
192
|
+
<summary>HolmesGPT CLI: investigate PagerDuty and OpsGenie alerts</summary>
|
|
193
|
+
|
|
194
|
+
```bash
|
|
195
|
+
holmes investigate opsgenie --opsgenie-api-key <OPSGENIE_API_KEY>
|
|
196
|
+
holmes investigate pagerduty --pagerduty-api-key <PAGERDUTY_API_KEY>
|
|
197
|
+
# to write the analysis back to the incident as a comment
|
|
198
|
+
holmes investigate pagerduty --pagerduty-api-key <PAGERDUTY_API_KEY> --update
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
For more details, run `holmes investigate <source> --help`
|
|
202
|
+
</details>
|
|
203
|
+
|
|
204
|
+
## Customizing HolmesGPT
|
|
205
|
+
|
|
206
|
+
HolmesGPT can investigate many issues out of the box, with no customization or training. Optionally, you can extend Holmes to improve results:
|
|
207
|
+
|
|
208
|
+
**Custom Data Sources**: Add data sources (toolsets) to improve investigations
|
|
209
|
+
- If using Robusta SaaS: See [here](https://holmesgpt.dev/data-sources/custom-toolsets/)
|
|
210
|
+
- If using the CLI: Use `-t` flag with [custom toolset files](./examples/custom_toolset.yaml) or add to `~/.holmes/config.yaml`
|
|
211
|
+
|
|
212
|
+
**Custom Runbooks**: Give HolmesGPT instructions for known alerts:
|
|
213
|
+
- If using Robusta SaaS: Use the Robusta UI to add runbooks
|
|
214
|
+
- If using the CLI: Use `-r` flag with [custom runbook files](./examples/custom_runbooks.yaml) or add to `~/.holmes/config.yaml`
|
|
215
|
+
|
|
216
|
+
You can save common settings and API Keys in a config file to avoid passing them from the CLI each time:
|
|
217
|
+
|
|
218
|
+
<details>
|
|
219
|
+
<summary>Reading settings from a config file</summary>
|
|
220
|
+
|
|
221
|
+
You can save common settings and API keys in config file for re-use. Place the config file in <code>~/.holmes/config.yaml`</code> or pass it using the <code> --config</code>
|
|
222
|
+
|
|
223
|
+
You can view an example config file with all available settings [here](config.example.yaml).
|
|
224
|
+
|
|
225
|
+
### Tool Output Transformers
|
|
226
|
+
|
|
227
|
+
HolmesGPT supports **transformers** to process large tool outputs before sending them to your primary LLM. This feature helps manage context window limits while preserving essential information.
|
|
228
|
+
|
|
229
|
+
The most common transformer is `llm_summarize`, which uses a fast secondary model to summarize lengthy outputs from tools like `kubectl describe`, log queries, or metrics collection.
|
|
230
|
+
|
|
231
|
+
📖 **Learn more**: [Tool Output Transformers Documentation](docs/transformers.md)
|
|
232
|
+
</details>
|
|
233
|
+
|
|
234
|
+
## 🔐 Data Privacy
|
|
235
|
+
|
|
236
|
+
By design, HolmesGPT has **read-only access** and respects RBAC permissions. It is safe to run in production environments.
|
|
237
|
+
|
|
238
|
+
We do **not** train HolmesGPT on your data. Data sent to Robusta SaaS is private to your account.
|
|
239
|
+
|
|
240
|
+
For extra privacy, [bring an API key](https://holmesgpt.dev/ai-providers/) for your own AI model.
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
## Evals
|
|
244
|
+
|
|
245
|
+
Because HolmesGPT relies on LLMs, it relies on [a suite of pytest based evaluations](https://holmesgpt.dev/development/evals/) to ensure the prompt and HolmesGPT's default set of tools work as expected with LLMs.
|
|
246
|
+
|
|
247
|
+
- [Introduction to HolmesGPT's evals](https://holmesgpt.dev/development/evaluations/).
|
|
248
|
+
- [Write your own evals](https://holmesgpt.dev/development/evaluations/adding-evals/).
|
|
249
|
+
- [Use Braintrust to view analyze results (optional)](https://holmesgpt.dev/development/evaluations/reporting/).
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
## License
|
|
253
|
+
Distributed under the Apache 2.0 License. See [LICENSE](https://github.com/HolmesGPT/holmesgpt/blob/master/LICENSE) for more information.
|
|
254
|
+
<!-- Change License -->
|
|
255
|
+
|
|
256
|
+
## Community
|
|
257
|
+
|
|
258
|
+
Join our community to discuss the HolmesGPT roadmap and share feedback:
|
|
259
|
+
|
|
260
|
+
📹 **First Community Meetup Recording:** [Watch on YouTube](https://youtu.be/slQRc6nlFQU)
|
|
261
|
+
- **Topics:** Roadmap discussion, community feedback, and Q&A
|
|
262
|
+
- **Resources:** [📝 Meeting Notes](https://docs.google.com/document/d/1sIHCcTivyzrF5XNvos7ZT_UcxEOqgwfawsTbb9wMJe4/edit?tab=t.0) | [📋 Community Page](https://holmesgpt.dev/community/)
|
|
263
|
+
|
|
264
|
+
## Support
|
|
265
|
+
|
|
266
|
+
If you have any questions, feel free to message us on [HolmesGPT Slack Channel](https://cloud-native.slack.com/archives/C0A1SPQM5PZ)
|
|
267
|
+
|
|
268
|
+
## How to Contribute
|
|
269
|
+
|
|
270
|
+
Please read our [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines and instructions.
|
|
271
|
+
|
|
272
|
+
For help, contact us on [Slack](https://cloud-native.slack.com/archives/C0A1SPQM5PZ) or ask [DeepWiki AI](https://deepwiki.com/HolmesGPT/holmesgpt) your questions.
|
|
273
|
+
|
|
274
|
+
Please make sure to follow the CNCF code of conduct - [details here](https://github.com/HolmesGPT/holmesgpt/blob/master/CODE_OF_CONDUCT.md).
|
|
275
|
+
[](https://deepwiki.com/HolmesGPT/holmesgpt)
|
|
276
|
+
|