domino_admin_toolkit.analyzers.platform_log_analyzer module
Platform log analyzer with streamlined architecture using existing log_analyzer infrastructure.
This module provides analyzers for platform log checks that work with the existing LogAnalysisResult and AnalysisSummary structures from the log_analyzer module.
- pydantic model domino_admin_toolkit.analyzers.platform_log_analyzer.CriticalPatternAnalyzer
Bases:
AnalyzerBase
Analyzer for detecting critical error patterns.
Scans a single component for critical error patterns and provides detailed information about patterns found.
- Fields:
- analyze(data)
Check for critical patterns in a single component.
- Return type:
- pydantic model domino_admin_toolkit.analyzers.platform_log_analyzer.ErrorRateAnalyzer
Bases:
AnalyzerBase
Analyzer for checking error rates against component thresholds.
Evaluates error rate for a single component against its configured threshold.
- Fields:
- analyze(data)
Analyze error rate for a single component.
- Return type:
- pydantic model domino_admin_toolkit.analyzers.platform_log_analyzer.PerPatternRateAnalyzer
Bases:
AnalyzerBase
Analyzer for checking individual pattern error rates against their specific thresholds.
Evaluates each error pattern against its own configured threshold, providing fine-grained analysis of error rates by pattern type.
- Fields:
- analyze(data)
Analyze per-pattern error rates for a single component.
- Return type:
- domino_admin_toolkit.analyzers.platform_log_analyzer.collect_platform_logs(targets, similarity_threshold=85)
Collect and analyze logs for platform components using existing infrastructure.
- Args:
targets: List of PodLogTarget instances defining what to collect similarity_threshold: Threshold for log analysis similarity matching
- Returns:
Dictionary mapping component names to (LogAnalysisResult, AnalysisSummary) tuples