holmesgpt 0.16.1__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.16.1 → holmesgpt-0.18.0}/PKG-INFO +11 -7
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/README.md +10 -6
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/__init__.py +1 -1
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/clients/robusta_client.py +0 -1
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/common/env_vars.py +12 -1
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/config.py +11 -6
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/core/conversations.py +27 -11
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/core/investigation.py +14 -14
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/core/llm.py +48 -28
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/core/models.py +14 -14
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/core/prompt.py +43 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/core/supabase_dal.py +123 -41
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/core/tool_calling_llm.py +79 -41
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/core/tools.py +6 -2
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/core/tools_utils/token_counting.py +9 -2
- holmesgpt-0.18.0/holmes/core/tools_utils/tool_context_window_limiter.py +39 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/core/tools_utils/tool_executor.py +0 -18
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/core/toolset_manager.py +36 -2
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/core/tracing.py +1 -1
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/core/truncation/compaction.py +36 -1
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/interactive.py +60 -5
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/main.py +16 -16
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/prompts/_fetch_logs.jinja2 +18 -5
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/prompts/_runbook_instructions.jinja2 +2 -1
- holmesgpt-0.18.0/holmes/plugins/prompts/base_user_prompt.jinja2 +7 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/prompts/conversation_history_compaction.jinja2 +2 -1
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/prompts/generic_ask.jinja2 +0 -2
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/prompts/generic_ask_conversation.jinja2 +0 -2
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/prompts/generic_ask_for_issue_conversation.jinja2 +0 -2
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/prompts/generic_investigation.jinja2 +0 -2
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/prompts/investigation_procedure.jinja2 +2 -1
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/prompts/kubernetes_workload_ask.jinja2 +0 -2
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/prompts/kubernetes_workload_chat.jinja2 +0 -2
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/runbooks/__init__.py +30 -2
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/__init__.py +19 -15
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/common/bash.py +11 -5
- 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.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/coralogix/utils.py +14 -78
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/datadog/datadog_api.py +34 -1
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/datadog/datadog_logs_instructions.jinja2 +34 -1
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/datadog/datadog_metrics_instructions.jinja2 +3 -3
- holmesgpt-0.18.0/holmes/plugins/toolsets/datadog/datadog_models.py +57 -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.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/datadog/toolset_datadog_general.py +66 -23
- holmesgpt-0.18.0/holmes/plugins/toolsets/datadog/toolset_datadog_logs.py +303 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/datadog/toolset_datadog_metrics.py +57 -27
- holmesgpt-0.18.0/holmes/plugins/toolsets/datadog/toolset_datadog_traces.py +714 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/git.py +16 -13
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/grafana/base_grafana_toolset.py +16 -3
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/grafana/common.py +0 -1
- 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.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/grafana/toolset_grafana.py +86 -6
- holmesgpt-0.18.0/holmes/plugins/toolsets/grafana/toolset_grafana_dashboard.jinja2 +49 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/grafana/toolset_grafana_tempo.py +203 -29
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/internet/internet.py +1 -1
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/investigator/core_investigation.py +3 -2
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/investigator/model.py +1 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/kafka.py +8 -3
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/kubernetes.yaml +208 -30
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/logging_utils/logging_api.py +12 -2
- holmesgpt-0.18.0/holmes/plugins/toolsets/mcp/toolset_mcp.py +294 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/newrelic/newrelic.py +79 -67
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/opensearch/opensearch_traces.py +1 -1
- holmesgpt-0.18.0/holmes/plugins/toolsets/openshift.yaml +283 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/prometheus/prometheus.py +21 -13
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/prometheus/prometheus_instructions.jinja2 +11 -3
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/robusta/robusta.py +64 -17
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/robusta/robusta_instructions.jinja2 +20 -6
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/runbook/runbook_fetcher.py +21 -3
- 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.18.0/holmes/utils/connection_utils.py +31 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/utils/console/result.py +10 -0
- holmesgpt-0.18.0/holmes/utils/default_toolset_installation_guide.jinja2 +23 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/utils/global_instructions.py +8 -26
- {holmesgpt-0.16.1 → 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/log.py +15 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/utils/sentry_helper.py +22 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/utils/stream.py +6 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/pyproject.toml +12 -1
- holmesgpt-0.16.1/LICENSE.txt +0 -21
- holmesgpt-0.16.1/holmes/core/tools_utils/tool_context_window_limiter.py +0 -57
- holmesgpt-0.16.1/holmes/plugins/toolsets/aws.yaml +0 -80
- holmesgpt-0.16.1/holmes/plugins/toolsets/coralogix/api.py +0 -160
- holmesgpt-0.16.1/holmes/plugins/toolsets/coralogix/toolset_coralogix_logs.py +0 -114
- holmesgpt-0.16.1/holmes/plugins/toolsets/datadog/datadog_traces_formatter.py +0 -310
- holmesgpt-0.16.1/holmes/plugins/toolsets/datadog/instructions_datadog_traces.jinja2 +0 -51
- holmesgpt-0.16.1/holmes/plugins/toolsets/datadog/toolset_datadog_logs.py +0 -456
- holmesgpt-0.16.1/holmes/plugins/toolsets/datadog/toolset_datadog_rds.py +0 -736
- holmesgpt-0.16.1/holmes/plugins/toolsets/datadog/toolset_datadog_traces.py +0 -696
- holmesgpt-0.16.1/holmes/plugins/toolsets/grafana/grafana_api.py +0 -42
- holmesgpt-0.16.1/holmes/plugins/toolsets/grafana/toolset_grafana_dashboard.jinja2 +0 -27
- holmesgpt-0.16.1/holmes/plugins/toolsets/grafana/toolset_grafana_loki.py +0 -111
- holmesgpt-0.16.1/holmes/plugins/toolsets/mcp/toolset_mcp.py +0 -136
- holmesgpt-0.16.1/holmes/plugins/toolsets/servicenow/install.md +0 -37
- holmesgpt-0.16.1/holmes/plugins/toolsets/servicenow/instructions.jinja2 +0 -3
- holmesgpt-0.16.1/holmes/plugins/toolsets/servicenow/servicenow.py +0 -213
- holmesgpt-0.16.1/holmes/utils/default_toolset_installation_guide.jinja2 +0 -44
- holmesgpt-0.16.1/holmes/utils/keygen_utils.py +0 -6
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/.git_archival.json +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/common/openshift.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/core/__init__.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/core/config.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/core/feedback.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/core/investigation_structured_output.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/core/issue.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/core/openai_formatting.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/core/resource_instruction.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/core/runbooks.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/core/safeguards.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/core/todo_tasks_formatter.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/core/tools_utils/__init__.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/core/tools_utils/toolset_utils.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/core/transformers/__init__.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/core/transformers/base.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/core/transformers/llm_summarize.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/core/transformers/registry.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/core/transformers/transformer.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/core/truncation/dal_truncation_utils.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/core/truncation/input_context_window_limiter.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/__init__.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/destinations/__init__.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/destinations/slack/__init__.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/destinations/slack/plugin.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/interfaces.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/prompts/__init__.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/prompts/_ai_safety.jinja2 +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/prompts/_current_date_time.jinja2 +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/prompts/_default_log_prompt.jinja2 +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/prompts/_general_instructions.jinja2 +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/prompts/_global_instructions.jinja2 +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/prompts/_permission_errors.jinja2 +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/prompts/_toolsets_instructions.jinja2 +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/prompts/generic_post_processing.jinja2 +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/prompts/generic_ticket.jinja2 +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/prompts/investigation_output_format.jinja2 +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/runbooks/CLAUDE.md +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/runbooks/README.md +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/runbooks/catalog.json +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/runbooks/jira.yaml +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/runbooks/kube-prometheus-stack.yaml +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/runbooks/networking/dns_troubleshooting_instructions.md +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/runbooks/upgrade/upgrade_troubleshooting_instructions.md +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/sources/github/__init__.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/sources/jira/__init__.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/sources/opsgenie/__init__.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/sources/pagerduty/__init__.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/sources/prometheus/__init__.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/sources/prometheus/models.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/sources/prometheus/plugin.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/aks-node-health.yaml +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/aks.yaml +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/argocd.yaml +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/atlas_mongodb/instructions.jinja2 +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/atlas_mongodb/mongodb_atlas.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/__init__.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/apis/alert_monitoring_api.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/apis/azure_sql_api.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/apis/connection_failure_api.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/apis/connection_monitoring_api.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/apis/storage_analysis_api.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/azure_base_toolset.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/azure_sql_instructions.jinja2 +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/azure_sql_toolset.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/install.md +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/tools/__init__.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/tools/analyze_connection_failures.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/tools/analyze_database_connections.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/tools/analyze_database_health_status.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/tools/analyze_database_performance.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/tools/analyze_database_storage.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/tools/get_active_alerts.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/tools/get_slow_queries.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/tools/get_top_cpu_queries.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/tools/get_top_data_io_queries.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/tools/get_top_log_io_queries.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/azure_sql/utils.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/__init__.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/argocd/__init__.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/argocd/constants.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/aws/__init__.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/aws/constants.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/azure/__init__.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/azure/constants.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/bash_instructions.jinja2 +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/bash_toolset.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/common/bash_command.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/common/config.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/common/stringify.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/common/validators.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/docker/__init__.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/docker/constants.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/helm/__init__.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/helm/constants.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/kubectl/__init__.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/kubectl/constants.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/kubectl/kubectl_describe.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/kubectl/kubectl_events.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/kubectl/kubectl_get.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/kubectl/kubectl_logs.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/kubectl/kubectl_run.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/kubectl/kubectl_top.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/parse_command.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/utilities/__init__.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/utilities/base64_util.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/utilities/cut.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/utilities/grep/__init__.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/utilities/head.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/utilities/jq.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/utilities/sed.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/utilities/sort.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/utilities/tail.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/utilities/tr.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/utilities/uniq.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/bash/utilities/wc.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/cilium.yaml +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/confluence.yaml +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/consts.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/datadog/datadog_general_instructions.jinja2 +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/datadog/datadog_rds_instructions.jinja2 +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/docker.yaml +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/grafana/__init__.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/grafana/grafana_tempo_api.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/grafana/loki_api.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/grafana/toolset_grafana_tempo.jinja2 +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/grafana/trace_parser.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/helm.yaml +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/internet/notion.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/investigator/__init__.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/investigator/investigator_instructions.jinja2 +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/kubernetes_logs.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/kubernetes_logs.yaml +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/logging_utils/__init__.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/logging_utils/types.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/newrelic/__init__.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/newrelic/new_relic_api.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/newrelic/newrelic.jinja2 +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/opensearch/__init__.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/opensearch/opensearch.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/opensearch/opensearch_logs.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/opensearch/opensearch_ppl_query_docs.jinja2 +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/opensearch/opensearch_query_assist.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/opensearch/opensearch_query_assist_instructions.jinja2 +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/opensearch/opensearch_traces_instructions.jinja2 +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/opensearch/opensearch_utils.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/prometheus/utils.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/rabbitmq/api.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/rabbitmq/rabbitmq_instructions.jinja2 +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/rabbitmq/toolset_rabbitmq.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/robusta/__init__.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/runbook/__init__.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/service_discovery.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/slab.yaml +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/toolsets/utils.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/plugins/utils.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/utils/__init__.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/utils/cache.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/utils/cert_utils.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/utils/colors.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/utils/config_utils.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/utils/console/consts.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/utils/console/logging.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/utils/definitions.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/utils/env.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/utils/file_utils.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/utils/holmes_status.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/utils/llms.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/utils/markdown_utils.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/utils/pydantic_utils.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/utils/tags.py +0 -0
- {holmesgpt-0.16.1 → holmesgpt-0.18.0}/holmes/version.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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: holmesgpt
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.18.0
|
|
4
4
|
Summary:
|
|
5
5
|
Author: Natan Yellin
|
|
6
6
|
Author-email: natan@robusta.dev
|
|
@@ -58,7 +58,10 @@ Description-Content-Type: text/markdown
|
|
|
58
58
|
|
|
59
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
60
|
|
|
61
|
-
|
|
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.
|
|
62
65
|
|
|
63
66
|
Find more about HolmesGPT's maintainers and adopters [here](./ADOPTERS.md).
|
|
64
67
|
|
|
@@ -69,7 +72,7 @@ Find more about HolmesGPT's maintainers and adopters [here](./ADOPTERS.md).
|
|
|
69
72
|
<a href="#installation"><strong>Installation</strong></a> |
|
|
70
73
|
<a href="#supported-llm-providers"><strong>LLM Providers</strong></a> |
|
|
71
74
|
<a href="https://www.youtube.com/watch?v=TfQfx65LsDQ"><strong>YouTube Demo</strong></a> |
|
|
72
|
-
<a href="https://deepwiki.com/
|
|
75
|
+
<a href="https://deepwiki.com/HolmesGPT/holmesgpt"><img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki"></a>
|
|
73
76
|
</p>
|
|
74
77
|
</div>
|
|
75
78
|
|
|
@@ -247,7 +250,7 @@ Because HolmesGPT relies on LLMs, it relies on [a suite of pytest based evaluati
|
|
|
247
250
|
|
|
248
251
|
|
|
249
252
|
## License
|
|
250
|
-
Distributed under the
|
|
253
|
+
Distributed under the Apache 2.0 License. See [LICENSE](https://github.com/HolmesGPT/holmesgpt/blob/master/LICENSE) for more information.
|
|
251
254
|
<!-- Change License -->
|
|
252
255
|
|
|
253
256
|
## Community
|
|
@@ -260,13 +263,14 @@ Join our community to discuss the HolmesGPT roadmap and share feedback:
|
|
|
260
263
|
|
|
261
264
|
## Support
|
|
262
265
|
|
|
263
|
-
If you have any questions, feel free to message us on [
|
|
266
|
+
If you have any questions, feel free to message us on [HolmesGPT Slack Channel](https://cloud-native.slack.com/archives/C0A1SPQM5PZ)
|
|
264
267
|
|
|
265
268
|
## How to Contribute
|
|
266
269
|
|
|
267
270
|
Please read our [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines and instructions.
|
|
268
271
|
|
|
269
|
-
For help, contact us on [Slack](https://
|
|
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.
|
|
270
273
|
|
|
271
|
-
[
|
|
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)
|
|
272
276
|
|
|
@@ -3,7 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
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.
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
[](https://www.bestpractices.dev/projects/11586)
|
|
7
|
+
|
|
8
|
+
>🎉 **HolmesGPT is now a CNCF Sandbox Project!**
|
|
9
|
+
HolmesGPT was originally created by [Robusta.Dev](https://home.robusta.dev/) and is a CNCF sandbox project.
|
|
7
10
|
|
|
8
11
|
Find more about HolmesGPT's maintainers and adopters [here](./ADOPTERS.md).
|
|
9
12
|
|
|
@@ -14,7 +17,7 @@ Find more about HolmesGPT's maintainers and adopters [here](./ADOPTERS.md).
|
|
|
14
17
|
<a href="#installation"><strong>Installation</strong></a> |
|
|
15
18
|
<a href="#supported-llm-providers"><strong>LLM Providers</strong></a> |
|
|
16
19
|
<a href="https://www.youtube.com/watch?v=TfQfx65LsDQ"><strong>YouTube Demo</strong></a> |
|
|
17
|
-
<a href="https://deepwiki.com/
|
|
20
|
+
<a href="https://deepwiki.com/HolmesGPT/holmesgpt"><img src="https://deepwiki.com/badge.svg" alt="Ask DeepWiki"></a>
|
|
18
21
|
</p>
|
|
19
22
|
</div>
|
|
20
23
|
|
|
@@ -192,7 +195,7 @@ Because HolmesGPT relies on LLMs, it relies on [a suite of pytest based evaluati
|
|
|
192
195
|
|
|
193
196
|
|
|
194
197
|
## License
|
|
195
|
-
Distributed under the
|
|
198
|
+
Distributed under the Apache 2.0 License. See [LICENSE](https://github.com/HolmesGPT/holmesgpt/blob/master/LICENSE) for more information.
|
|
196
199
|
<!-- Change License -->
|
|
197
200
|
|
|
198
201
|
## Community
|
|
@@ -205,12 +208,13 @@ Join our community to discuss the HolmesGPT roadmap and share feedback:
|
|
|
205
208
|
|
|
206
209
|
## Support
|
|
207
210
|
|
|
208
|
-
If you have any questions, feel free to message us on [
|
|
211
|
+
If you have any questions, feel free to message us on [HolmesGPT Slack Channel](https://cloud-native.slack.com/archives/C0A1SPQM5PZ)
|
|
209
212
|
|
|
210
213
|
## How to Contribute
|
|
211
214
|
|
|
212
215
|
Please read our [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines and instructions.
|
|
213
216
|
|
|
214
|
-
For help, contact us on [Slack](https://
|
|
217
|
+
For help, contact us on [Slack](https://cloud-native.slack.com/archives/C0A1SPQM5PZ) or ask [DeepWiki AI](https://deepwiki.com/HolmesGPT/holmesgpt) your questions.
|
|
215
218
|
|
|
216
|
-
[
|
|
219
|
+
Please make sure to follow the CNCF code of conduct - [details here](https://github.com/HolmesGPT/holmesgpt/blob/master/CODE_OF_CONDUCT.md).
|
|
220
|
+
[](https://deepwiki.com/HolmesGPT/holmesgpt)
|
|
@@ -94,7 +94,9 @@ TOOL_MAX_ALLOCATED_CONTEXT_WINDOW_PCT = float(
|
|
|
94
94
|
)
|
|
95
95
|
|
|
96
96
|
# Absolute max tokens to allocate for a single tool response
|
|
97
|
-
TOOL_MAX_ALLOCATED_CONTEXT_WINDOW_TOKENS =
|
|
97
|
+
TOOL_MAX_ALLOCATED_CONTEXT_WINDOW_TOKENS = int(
|
|
98
|
+
os.environ.get("TOOL_MAX_ALLOCATED_CONTEXT_WINDOW_TOKENS", 25000)
|
|
99
|
+
)
|
|
98
100
|
|
|
99
101
|
MAX_EVIDENCE_DATA_CHARACTERS_BEFORE_TRUNCATION = int(
|
|
100
102
|
os.environ.get("MAX_EVIDENCE_DATA_CHARACTERS_BEFORE_TRUNCATION", 3000)
|
|
@@ -109,3 +111,12 @@ DISABLE_PROMETHEUS_TOOLSET = load_bool("DISABLE_PROMETHEUS_TOOLSET", False)
|
|
|
109
111
|
RESET_REPEATED_TOOL_CALL_CHECK_AFTER_COMPACTION = load_bool(
|
|
110
112
|
"RESET_REPEATED_TOOL_CALL_CHECK_AFTER_COMPACTION", True
|
|
111
113
|
)
|
|
114
|
+
|
|
115
|
+
SSE_READ_TIMEOUT = float(os.environ.get("SSE_READ_TIMEOUT", "120"))
|
|
116
|
+
|
|
117
|
+
LLM_REQUEST_TIMEOUT = float(os.environ.get("LLM_REQUEST_TIMEOUT", "600"))
|
|
118
|
+
|
|
119
|
+
ENABLE_CONNECTION_KEEPALIVE = load_bool("ENABLE_CONNECTION_KEEPALIVE", False)
|
|
120
|
+
KEEPALIVE_IDLE = int(os.environ.get("KEEPALIVE_IDLE", 2))
|
|
121
|
+
KEEPALIVE_INTVL = int(os.environ.get("KEEPALIVE_INTVL", 2))
|
|
122
|
+
KEEPALIVE_CNT = int(os.environ.get("KEEPALIVE_CNT", 5))
|
|
@@ -84,6 +84,7 @@ class Config(RobustaBaseConfig):
|
|
|
84
84
|
opsgenie_query: Optional[str] = None
|
|
85
85
|
|
|
86
86
|
custom_runbooks: List[FilePath] = []
|
|
87
|
+
custom_runbook_catalogs: List[Union[str, FilePath]] = []
|
|
87
88
|
|
|
88
89
|
# custom_toolsets is passed from config file, and be used to override built-in toolsets, provides 'stable' customized toolset.
|
|
89
90
|
# The status of custom toolsets can be cached.
|
|
@@ -114,6 +115,7 @@ class Config(RobustaBaseConfig):
|
|
|
114
115
|
custom_toolsets=self.custom_toolsets,
|
|
115
116
|
custom_toolsets_from_cli=self.custom_toolsets_from_cli,
|
|
116
117
|
global_fast_model=self.fast_model,
|
|
118
|
+
custom_runbook_catalogs=self.custom_runbook_catalogs,
|
|
117
119
|
)
|
|
118
120
|
return self._toolset_manager
|
|
119
121
|
|
|
@@ -224,8 +226,9 @@ class Config(RobustaBaseConfig):
|
|
|
224
226
|
return None
|
|
225
227
|
|
|
226
228
|
def get_runbook_catalog(self) -> Optional[RunbookCatalog]:
|
|
227
|
-
|
|
228
|
-
|
|
229
|
+
runbook_catalog = load_runbook_catalog(
|
|
230
|
+
dal=self.dal, custom_catalog_paths=self.custom_runbook_catalogs
|
|
231
|
+
)
|
|
229
232
|
return runbook_catalog
|
|
230
233
|
|
|
231
234
|
def create_console_tool_executor(
|
|
@@ -285,12 +288,15 @@ class Config(RobustaBaseConfig):
|
|
|
285
288
|
dal: Optional["SupabaseDal"] = None,
|
|
286
289
|
refresh_toolsets: bool = False,
|
|
287
290
|
tracer=None,
|
|
291
|
+
model_name: Optional[str] = None,
|
|
288
292
|
) -> "ToolCallingLLM":
|
|
289
293
|
tool_executor = self.create_console_tool_executor(dal, refresh_toolsets)
|
|
290
294
|
from holmes.core.tool_calling_llm import ToolCallingLLM
|
|
291
295
|
|
|
292
296
|
return ToolCallingLLM(
|
|
293
|
-
tool_executor,
|
|
297
|
+
tool_executor,
|
|
298
|
+
self.max_steps,
|
|
299
|
+
self._get_llm(tracer=tracer, model_key=model_name),
|
|
294
300
|
)
|
|
295
301
|
|
|
296
302
|
def create_agui_toolcalling_llm(
|
|
@@ -344,7 +350,7 @@ class Config(RobustaBaseConfig):
|
|
|
344
350
|
)
|
|
345
351
|
|
|
346
352
|
def create_console_issue_investigator(
|
|
347
|
-
self, dal: Optional["SupabaseDal"] = None
|
|
353
|
+
self, dal: Optional["SupabaseDal"] = None, model_name: Optional[str] = None
|
|
348
354
|
) -> "IssueInvestigator":
|
|
349
355
|
all_runbooks = load_builtin_runbooks()
|
|
350
356
|
for runbook_path in self.custom_runbooks:
|
|
@@ -360,7 +366,7 @@ class Config(RobustaBaseConfig):
|
|
|
360
366
|
tool_executor=tool_executor,
|
|
361
367
|
runbook_manager=runbook_manager,
|
|
362
368
|
max_steps=self.max_steps,
|
|
363
|
-
llm=self._get_llm(),
|
|
369
|
+
llm=self._get_llm(model_key=model_name),
|
|
364
370
|
cluster_name=self.cluster_name,
|
|
365
371
|
)
|
|
366
372
|
|
|
@@ -478,7 +484,6 @@ class Config(RobustaBaseConfig):
|
|
|
478
484
|
model_params = model_entry.model_dump(exclude_none=True)
|
|
479
485
|
api_base = self.api_base
|
|
480
486
|
api_version = self.api_version
|
|
481
|
-
|
|
482
487
|
is_robusta_model = model_params.pop("is_robusta_model", False)
|
|
483
488
|
sentry_sdk.set_tag("is_robusta_model", is_robusta_model)
|
|
484
489
|
if is_robusta_model:
|
|
@@ -12,8 +12,9 @@ from holmes.core.tool_calling_llm import ToolCallingLLM
|
|
|
12
12
|
from holmes.plugins.runbooks import RunbookCatalog
|
|
13
13
|
from holmes.utils.global_instructions import (
|
|
14
14
|
Instructions,
|
|
15
|
-
|
|
15
|
+
generate_runbooks_args,
|
|
16
16
|
)
|
|
17
|
+
from holmes.core.prompt import generate_user_prompt
|
|
17
18
|
|
|
18
19
|
DEFAULT_TOOL_SIZE = 10000
|
|
19
20
|
|
|
@@ -121,11 +122,14 @@ def build_issue_chat_messages(
|
|
|
121
122
|
tools_for_investigation = issue_chat_request.investigation_result.tools
|
|
122
123
|
|
|
123
124
|
if not conversation_history or len(conversation_history) == 0:
|
|
124
|
-
|
|
125
|
-
user_prompt=user_prompt,
|
|
125
|
+
runbooks_ctx = generate_runbooks_args(
|
|
126
126
|
runbook_catalog=runbooks,
|
|
127
127
|
global_instructions=global_instructions,
|
|
128
128
|
)
|
|
129
|
+
user_prompt = generate_user_prompt(
|
|
130
|
+
user_prompt,
|
|
131
|
+
runbooks_ctx,
|
|
132
|
+
)
|
|
129
133
|
|
|
130
134
|
number_of_tools_for_investigation = len(tools_for_investigation) # type: ignore
|
|
131
135
|
if number_of_tools_for_investigation == 0:
|
|
@@ -208,11 +212,14 @@ def build_issue_chat_messages(
|
|
|
208
212
|
},
|
|
209
213
|
]
|
|
210
214
|
|
|
211
|
-
|
|
212
|
-
user_prompt=user_prompt,
|
|
215
|
+
runbooks_ctx = generate_runbooks_args(
|
|
213
216
|
runbook_catalog=runbooks,
|
|
214
217
|
global_instructions=global_instructions,
|
|
215
218
|
)
|
|
219
|
+
user_prompt = generate_user_prompt(
|
|
220
|
+
user_prompt,
|
|
221
|
+
runbooks_ctx,
|
|
222
|
+
)
|
|
216
223
|
|
|
217
224
|
conversation_history.append(
|
|
218
225
|
{
|
|
@@ -385,11 +392,14 @@ def build_chat_messages(
|
|
|
385
392
|
runbooks=runbooks,
|
|
386
393
|
)
|
|
387
394
|
|
|
388
|
-
|
|
389
|
-
user_prompt=ask,
|
|
395
|
+
runbooks_ctx = generate_runbooks_args(
|
|
390
396
|
runbook_catalog=runbooks,
|
|
391
397
|
global_instructions=global_instructions,
|
|
392
398
|
)
|
|
399
|
+
ask = generate_user_prompt(
|
|
400
|
+
ask,
|
|
401
|
+
runbooks_ctx,
|
|
402
|
+
)
|
|
393
403
|
|
|
394
404
|
conversation_history.append( # type: ignore
|
|
395
405
|
{
|
|
@@ -481,11 +491,14 @@ def build_workload_health_chat_messages(
|
|
|
481
491
|
resource = workload_health_chat_request.resource
|
|
482
492
|
|
|
483
493
|
if not conversation_history or len(conversation_history) == 0:
|
|
484
|
-
|
|
485
|
-
user_prompt=user_prompt,
|
|
494
|
+
runbooks_ctx = generate_runbooks_args(
|
|
486
495
|
runbook_catalog=runbooks,
|
|
487
496
|
global_instructions=global_instructions,
|
|
488
497
|
)
|
|
498
|
+
user_prompt = generate_user_prompt(
|
|
499
|
+
user_prompt,
|
|
500
|
+
runbooks_ctx,
|
|
501
|
+
)
|
|
489
502
|
|
|
490
503
|
number_of_tools_for_workload = len(tools_for_workload) # type: ignore
|
|
491
504
|
if number_of_tools_for_workload == 0:
|
|
@@ -568,11 +581,14 @@ def build_workload_health_chat_messages(
|
|
|
568
581
|
},
|
|
569
582
|
]
|
|
570
583
|
|
|
571
|
-
|
|
572
|
-
user_prompt=user_prompt,
|
|
584
|
+
runbooks_ctx = generate_runbooks_args(
|
|
573
585
|
runbook_catalog=runbooks,
|
|
574
586
|
global_instructions=global_instructions,
|
|
575
587
|
)
|
|
588
|
+
user_prompt = generate_user_prompt(
|
|
589
|
+
user_prompt,
|
|
590
|
+
runbooks_ctx,
|
|
591
|
+
)
|
|
576
592
|
|
|
577
593
|
conversation_history.append(
|
|
578
594
|
{
|
|
@@ -10,7 +10,8 @@ from holmes.core.models import InvestigateRequest, InvestigationResult
|
|
|
10
10
|
from holmes.core.supabase_dal import SupabaseDal
|
|
11
11
|
from holmes.core.tracing import DummySpan, SpanType
|
|
12
12
|
from holmes.plugins.runbooks import RunbookCatalog
|
|
13
|
-
from holmes.utils.global_instructions import
|
|
13
|
+
from holmes.utils.global_instructions import generate_runbooks_args
|
|
14
|
+
from holmes.core.prompt import generate_user_prompt
|
|
14
15
|
|
|
15
16
|
from holmes.core.investigation_structured_output import (
|
|
16
17
|
DEFAULT_SECTIONS,
|
|
@@ -19,6 +20,7 @@ from holmes.core.investigation_structured_output import (
|
|
|
19
20
|
)
|
|
20
21
|
|
|
21
22
|
from holmes.plugins.prompts import load_and_render_prompt
|
|
23
|
+
from holmes.utils import sentry_helper
|
|
22
24
|
|
|
23
25
|
|
|
24
26
|
def investigate_issues(
|
|
@@ -31,9 +33,6 @@ def investigate_issues(
|
|
|
31
33
|
) -> InvestigationResult:
|
|
32
34
|
context = dal.get_issue_data(investigate_request.context.get("robusta_issue_id"))
|
|
33
35
|
|
|
34
|
-
resource_instructions = dal.get_resource_instructions(
|
|
35
|
-
"alert", investigate_request.context.get("issue_type")
|
|
36
|
-
)
|
|
37
36
|
global_instructions = dal.get_global_instructions_for_account()
|
|
38
37
|
|
|
39
38
|
raw_data = investigate_request.model_dump()
|
|
@@ -59,7 +58,6 @@ def investigate_issues(
|
|
|
59
58
|
issue,
|
|
60
59
|
prompt=investigate_request.prompt_template,
|
|
61
60
|
post_processing_prompt=HOLMES_POST_PROCESSING_PROMPT,
|
|
62
|
-
instructions=resource_instructions,
|
|
63
61
|
global_instructions=global_instructions,
|
|
64
62
|
sections=investigate_request.sections,
|
|
65
63
|
trace_span=trace_span,
|
|
@@ -68,6 +66,9 @@ def investigate_issues(
|
|
|
68
66
|
|
|
69
67
|
(text_response, sections) = process_response_into_sections(investigation.result)
|
|
70
68
|
|
|
69
|
+
if sections is None:
|
|
70
|
+
sentry_helper.capture_sections_none(content=investigation.result)
|
|
71
|
+
|
|
71
72
|
logging.debug(f"text response: {text_response}")
|
|
72
73
|
return InvestigationResult(
|
|
73
74
|
analysis=text_response,
|
|
@@ -101,10 +102,6 @@ def get_investigation_context(
|
|
|
101
102
|
|
|
102
103
|
issue_instructions = ai.runbook_manager.get_instructions_for_issue(issue)
|
|
103
104
|
|
|
104
|
-
resource_instructions = dal.get_resource_instructions(
|
|
105
|
-
"alert", investigate_request.context.get("issue_type")
|
|
106
|
-
)
|
|
107
|
-
|
|
108
105
|
# This section is about setting vars to request the LLM to return structured output.
|
|
109
106
|
# It does not mean that Holmes will not return structured sections for investigation as it is
|
|
110
107
|
# capable of splitting the markdown into sections
|
|
@@ -140,17 +137,20 @@ def get_investigation_context(
|
|
|
140
137
|
"runbooks_enabled": True if runbook_catalog else False,
|
|
141
138
|
},
|
|
142
139
|
)
|
|
143
|
-
|
|
140
|
+
base_user = ""
|
|
144
141
|
|
|
145
142
|
global_instructions = dal.get_global_instructions_for_account()
|
|
146
|
-
|
|
147
|
-
user_prompt=user_prompt,
|
|
143
|
+
runbooks_ctx = generate_runbooks_args(
|
|
148
144
|
runbook_catalog=runbook_catalog,
|
|
149
145
|
global_instructions=global_instructions,
|
|
150
146
|
issue_instructions=issue_instructions,
|
|
151
|
-
resource_instructions=resource_instructions,
|
|
152
147
|
)
|
|
153
148
|
|
|
154
|
-
|
|
149
|
+
base_user = f"{base_user}\n #This is context from the issue:\n{issue.raw}"
|
|
150
|
+
|
|
151
|
+
user_prompt = generate_user_prompt(
|
|
152
|
+
base_user,
|
|
153
|
+
runbooks_ctx,
|
|
154
|
+
)
|
|
155
155
|
|
|
156
156
|
return ai, system_prompt, user_prompt, response_format, sections, issue_instructions
|