tasker-engine 0.1.0 → 1.0.0
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.
Potentially problematic release.
This version of tasker-engine might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +12 -9
- data/app/controllers/tasker/analytics_controller.rb +2 -2
- data/app/controllers/tasker/graphql_controller.rb +3 -3
- data/app/controllers/tasker/health_controller.rb +1 -1
- data/app/controllers/tasker/metrics_controller.rb +3 -3
- data/app/controllers/tasker/task_diagrams_controller.rb +30 -0
- data/app/jobs/tasker/metrics_export_job.rb +1 -1
- data/app/models/tasker/application_record.rb +5 -5
- data/app/models/tasker/diagram/edge.rb +106 -0
- data/app/models/tasker/diagram/flowchart.rb +137 -0
- data/app/models/tasker/diagram/node.rb +99 -0
- data/app/models/tasker/task.rb +11 -1
- data/app/models/tasker/task_diagram.rb +332 -0
- data/app/models/tasker/workflow_step_edge.rb +4 -5
- data/app/views/tasker/task/_diagram.html.erb +32 -0
- data/config/routes.rb +3 -3
- data/db/init/schema.sql +23 -0
- data/docs/APPLICATION_GENERATOR.md +1 -1
- data/docs/AUTH.md +51 -12
- data/docs/DEVELOPER_GUIDE.md +9 -8
- data/docs/EXECUTION_CONFIGURATION.md +1 -1
- data/docs/HEALTH.md +3 -3
- data/docs/METRICS.md +4 -4
- data/docs/OPTIMIZATION_PLAN.md +3 -3
- data/docs/OVERVIEW.md +4 -0
- data/docs/QUICK_START.md +1 -1
- data/docs/REST_API.md +1 -1
- data/docs/TASK_DIAGRAM.md +252 -0
- data/docs/TELEMETRY.md +5 -5
- data/docs/TROUBLESHOOTING.md +3 -3
- data/docs/TaskHandlerGenerator.html +55 -55
- data/docs/Tasker/Analysis/RuntimeGraphAnalyzer.html +1 -1
- data/docs/Tasker/Analysis/TemplateGraphAnalyzer.html +1 -1
- data/docs/Tasker/Analysis.html +1 -1
- data/docs/Tasker/AnalyticsController.html +1 -1
- data/docs/Tasker/AnalyticsService/BottleneckAnalytics.html +1 -1
- data/docs/Tasker/AnalyticsService/PerformanceAnalytics.html +1 -1
- data/docs/Tasker/AnalyticsService.html +1 -1
- data/docs/Tasker/AnnotationType.html +1 -1
- data/docs/Tasker/AnnotationTypeSerializer.html +1 -1
- data/docs/Tasker/ApplicationController.html +2 -2
- data/docs/Tasker/ApplicationJob.html +1 -1
- data/docs/Tasker/ApplicationRecord.html +6 -6
- data/docs/Tasker/Authentication/AuthenticationError.html +1 -1
- data/docs/Tasker/Authentication/ConfigurationError.html +1 -1
- data/docs/Tasker/Authentication/Coordinator.html +1 -1
- data/docs/Tasker/Authentication/Interface.html +1 -1
- data/docs/Tasker/Authentication/InterfaceError.html +1 -1
- data/docs/Tasker/Authentication/NoneAuthenticator.html +1 -1
- data/docs/Tasker/Authentication.html +1 -1
- data/docs/Tasker/Authorization/AuthorizationError.html +1 -1
- data/docs/Tasker/Authorization/BaseCoordinator.html +2 -2
- data/docs/Tasker/Authorization/ConfigurationError.html +1 -1
- data/docs/Tasker/Authorization/ResourceConstants/ACTIONS.html +10 -10
- data/docs/Tasker/Authorization/ResourceConstants/RESOURCES.html +13 -8
- data/docs/Tasker/Authorization/ResourceConstants.html +1 -1
- data/docs/Tasker/Authorization/ResourceRegistry.html +40 -33
- data/docs/Tasker/Authorization/UnauthorizedError.html +1 -1
- data/docs/Tasker/Authorization.html +2 -2
- data/docs/Tasker/CacheCapabilities.html +1 -1
- data/docs/Tasker/CacheStrategy.html +1 -1
- data/docs/Tasker/Concerns/Authenticatable.html +1 -1
- data/docs/Tasker/Concerns/Authorizable/AdminStatusChecker.html +1 -1
- data/docs/Tasker/Concerns/Authorizable.html +1 -1
- data/docs/Tasker/Concerns/ControllerAuthorizable.html +1 -1
- data/docs/Tasker/Concerns/EventPublisher.html +1 -1
- data/docs/Tasker/Concerns/IdempotentStateTransitions.html +1 -1
- data/docs/Tasker/Concerns/StateMachineBase/ClassMethods.html +1 -1
- data/docs/Tasker/Concerns/StateMachineBase/StateMachineBase/ClassMethods.html +1 -1
- data/docs/Tasker/Concerns/StateMachineBase/StateMachineBase.html +1 -1
- data/docs/Tasker/Concerns/StateMachineBase.html +1 -1
- data/docs/Tasker/Concerns/StructuredLogging.html +1 -1
- data/docs/Tasker/Concerns.html +1 -1
- data/docs/Tasker/Configuration/ConfigurationProxy.html +1 -1
- data/docs/Tasker/Configuration/TelemetryConfigurationProxy.html +1 -1
- data/docs/Tasker/Configuration.html +1 -1
- data/docs/Tasker/ConfigurationError.html +1 -1
- data/docs/Tasker/ConfiguredTask.html +2 -2
- data/docs/Tasker/Constants/EventDefinitions.html +1 -1
- data/docs/Tasker/Constants/ObservabilityEvents/Step.html +1 -1
- data/docs/Tasker/Constants/ObservabilityEvents/Task.html +1 -1
- data/docs/Tasker/Constants/ObservabilityEvents.html +1 -1
- data/docs/Tasker/Constants/RegistryEvents.html +1 -1
- data/docs/Tasker/Constants/StepEvents.html +1 -1
- data/docs/Tasker/Constants/TaskEvents.html +1 -1
- data/docs/Tasker/Constants/TaskExecution/ExecutionStatus.html +1 -1
- data/docs/Tasker/Constants/TaskExecution/HealthStatus.html +1 -1
- data/docs/Tasker/Constants/TaskExecution/RecommendedAction.html +1 -1
- data/docs/Tasker/Constants/TaskExecution.html +1 -1
- data/docs/Tasker/Constants/TaskFinalization/ErrorMessages.html +1 -1
- data/docs/Tasker/Constants/TaskFinalization/PendingReasons.html +1 -1
- data/docs/Tasker/Constants/TaskFinalization/ReenqueueReasons.html +1 -1
- data/docs/Tasker/Constants/TaskFinalization.html +1 -1
- data/docs/Tasker/Constants/TaskStatuses.html +1 -1
- data/docs/Tasker/Constants/TestEvents.html +1 -1
- data/docs/Tasker/Constants/WorkflowEvents.html +1 -1
- data/docs/Tasker/Constants/WorkflowStepStatuses.html +1 -1
- data/docs/Tasker/Constants.html +1 -1
- data/docs/Tasker/DependentSystem.html +1 -1
- data/docs/Tasker/DependentSystemObjectMap.html +1 -1
- data/docs/Tasker/DetectorRegistry.html +1 -1
- data/docs/Tasker/Diagram/Edge.html +1 -1
- data/docs/Tasker/Diagram/Flowchart.html +1 -1
- data/docs/Tasker/Diagram/Node.html +1 -1
- data/docs/Tasker/Diagram.html +1 -1
- data/docs/Tasker/Engine.html +1 -1
- data/docs/Tasker/Error.html +1 -1
- data/docs/Tasker/Events/Catalog/CatalogPrinter.html +1 -1
- data/docs/Tasker/Events/Catalog/CustomEventRegistrar.html +1 -1
- data/docs/Tasker/Events/Catalog/ExamplePayloadGenerator.html +1 -1
- data/docs/Tasker/Events/Catalog.html +1 -1
- data/docs/Tasker/Events/CustomRegistry.html +1 -1
- data/docs/Tasker/Events/DefinitionLoader.html +1 -1
- data/docs/Tasker/Events/EventPayloadBuilder/ErrorInfoExtractor.html +1 -1
- data/docs/Tasker/Events/EventPayloadBuilder/StepPayloadBuilder.html +1 -1
- data/docs/Tasker/Events/EventPayloadBuilder.html +1 -1
- data/docs/Tasker/Events/Publisher.html +1 -1
- data/docs/Tasker/Events/Subscribers/BaseSubscriber/ErrorCategorizer/ErrorTypeClassifier.html +1 -1
- data/docs/Tasker/Events/Subscribers/BaseSubscriber/ErrorCategorizer.html +1 -1
- data/docs/Tasker/Events/Subscribers/BaseSubscriber/MetricTagsExtractor.html +1 -1
- data/docs/Tasker/Events/Subscribers/BaseSubscriber.html +1 -1
- data/docs/Tasker/Events/Subscribers/MetricsSubscriber.html +2 -2
- data/docs/Tasker/Events/Subscribers/TelemetrySubscriber.html +5 -5
- data/docs/Tasker/Events/Subscribers.html +1 -1
- data/docs/Tasker/Events/SubscriptionLoader.html +1 -1
- data/docs/Tasker/Events.html +1 -1
- data/docs/Tasker/EventsGenerator.html +2 -2
- data/docs/Tasker/Functions/FunctionBasedAnalyticsMetrics/AnalyticsMetrics.html +1 -1
- data/docs/Tasker/Functions/FunctionBasedAnalyticsMetrics.html +1 -1
- data/docs/Tasker/Functions/FunctionBasedDependencyLevels.html +1 -1
- data/docs/Tasker/Functions/FunctionBasedSlowestSteps/SlowestStep.html +1 -1
- data/docs/Tasker/Functions/FunctionBasedSlowestSteps.html +1 -1
- data/docs/Tasker/Functions/FunctionBasedSlowestTasks/SlowestTask.html +1 -1
- data/docs/Tasker/Functions/FunctionBasedSlowestTasks.html +1 -1
- data/docs/Tasker/Functions/FunctionBasedStepReadinessStatus.html +1 -1
- data/docs/Tasker/Functions/FunctionBasedSystemHealthCounts/HealthMetrics.html +1 -1
- data/docs/Tasker/Functions/FunctionBasedSystemHealthCounts.html +1 -1
- data/docs/Tasker/Functions/FunctionBasedTaskExecutionContext.html +1 -1
- data/docs/Tasker/Functions/FunctionWrapper.html +1 -1
- data/docs/Tasker/Functions.html +1 -1
- data/docs/Tasker/Generators/AuthenticatorGenerator/UsageInstructionsFormatter.html +1 -1
- data/docs/Tasker/Generators/AuthenticatorGenerator.html +1 -1
- data/docs/Tasker/Generators/AuthorizationCoordinatorGenerator.html +1 -1
- data/docs/Tasker/Generators/SubscriberGenerator.html +1 -1
- data/docs/Tasker/Generators/TaskHandlerGenerator.html +4 -4
- data/docs/Tasker/Generators.html +1 -1
- data/docs/Tasker/GraphQLTypes/AnnotationType.html +1 -1
- data/docs/Tasker/GraphQLTypes/BaseArgument.html +1 -1
- data/docs/Tasker/GraphQLTypes/BaseConnection.html +1 -1
- data/docs/Tasker/GraphQLTypes/BaseEdge.html +1 -1
- data/docs/Tasker/GraphQLTypes/BaseEnum.html +1 -1
- data/docs/Tasker/GraphQLTypes/BaseField.html +1 -1
- data/docs/Tasker/GraphQLTypes/BaseInputObject.html +1 -1
- data/docs/Tasker/GraphQLTypes/BaseInterface.html +1 -1
- data/docs/Tasker/GraphQLTypes/BaseObject.html +1 -1
- data/docs/Tasker/GraphQLTypes/BaseScalar.html +1 -1
- data/docs/Tasker/GraphQLTypes/BaseUnion.html +1 -1
- data/docs/Tasker/GraphQLTypes/DependentSystemObjectMapType.html +1 -1
- data/docs/Tasker/GraphQLTypes/DependentSystemType.html +1 -1
- data/docs/Tasker/GraphQLTypes/MutationType.html +1 -1
- data/docs/Tasker/GraphQLTypes/NamedStepType.html +1 -1
- data/docs/Tasker/GraphQLTypes/NamedTaskType.html +1 -1
- data/docs/Tasker/GraphQLTypes/NamedTasksNamedStepType.html +1 -1
- data/docs/Tasker/GraphQLTypes/NodeType.html +1 -1
- data/docs/Tasker/GraphQLTypes/QueryType.html +1 -1
- data/docs/Tasker/GraphQLTypes/TaskAnnotationType.html +1 -1
- data/docs/Tasker/GraphQLTypes/TaskInterface.html +1 -1
- data/docs/Tasker/GraphQLTypes/TaskType.html +1 -1
- data/docs/Tasker/GraphQLTypes/WorkflowStepType.html +1 -1
- data/docs/Tasker/GraphQLTypes.html +1 -1
- data/docs/Tasker/GraphqlController.html +1 -1
- data/docs/Tasker/HandlerFactory.html +44 -54
- data/docs/Tasker/HandlerSerializer.html +1 -1
- data/docs/Tasker/HandlersController.html +1 -1
- data/docs/Tasker/HashIdentityStrategy.html +1 -1
- data/docs/Tasker/Health/ReadinessChecker.html +2 -2
- data/docs/Tasker/Health/StatusChecker.html +2 -2
- data/docs/Tasker/Health.html +1 -1
- data/docs/Tasker/HealthController.html +1 -1
- data/docs/Tasker/IdentityStrategy.html +1 -1
- data/docs/Tasker/InvalidTaskHandlerConfig.html +1 -1
- data/docs/Tasker/Logging/CorrelationIdGenerator.html +2 -2
- data/docs/Tasker/Logging.html +1 -1
- data/docs/Tasker/MetricsController.html +1 -1
- data/docs/Tasker/MetricsExportJob.html +1 -1
- data/docs/Tasker/Mutations/BaseMutation.html +1 -1
- data/docs/Tasker/Mutations/CancelStep.html +1 -1
- data/docs/Tasker/Mutations/CancelTask.html +1 -1
- data/docs/Tasker/Mutations/CreateTask.html +1 -1
- data/docs/Tasker/Mutations/UpdateStep.html +1 -1
- data/docs/Tasker/Mutations/UpdateTask.html +1 -1
- data/docs/Tasker/Mutations.html +1 -1
- data/docs/Tasker/NamedStep.html +1 -1
- data/docs/Tasker/NamedTask.html +1 -1
- data/docs/Tasker/NamedTasksNamedStep.html +1 -1
- data/docs/Tasker/Orchestration/BackoffCalculator.html +1 -1
- data/docs/Tasker/Orchestration/ConnectionBuilder/ConfigValidator.html +1 -1
- data/docs/Tasker/Orchestration/ConnectionBuilder.html +2 -2
- data/docs/Tasker/Orchestration/ConnectionPoolIntelligence.html +3 -3
- data/docs/Tasker/Orchestration/Coordinator.html +1 -1
- data/docs/Tasker/Orchestration/FutureStateAnalyzer.html +1 -1
- data/docs/Tasker/Orchestration/PluginIntegration.html +1 -1
- data/docs/Tasker/Orchestration/ResponseProcessor.html +1 -1
- data/docs/Tasker/Orchestration/RetryHeaderParser.html +1 -1
- data/docs/Tasker/Orchestration/StepExecutor.html +4 -4
- data/docs/Tasker/Orchestration/StepSequenceFactory.html +1 -1
- data/docs/Tasker/Orchestration/TaskFinalizer/BlockageChecker.html +1 -1
- data/docs/Tasker/Orchestration/TaskFinalizer/ContextManager.html +1 -1
- data/docs/Tasker/Orchestration/TaskFinalizer/DelayCalculator.html +2 -2
- data/docs/Tasker/Orchestration/TaskFinalizer/FinalizationDecisionMaker.html +1 -1
- data/docs/Tasker/Orchestration/TaskFinalizer/FinalizationProcessor.html +1 -1
- data/docs/Tasker/Orchestration/TaskFinalizer/ReasonDeterminer.html +1 -1
- data/docs/Tasker/Orchestration/TaskFinalizer/ReenqueueManager.html +1 -1
- data/docs/Tasker/Orchestration/TaskFinalizer/UnclearStateHandler.html +1 -1
- data/docs/Tasker/Orchestration/TaskFinalizer.html +1 -1
- data/docs/Tasker/Orchestration/TaskInitializer.html +1 -1
- data/docs/Tasker/Orchestration/TaskReenqueuer.html +1 -1
- data/docs/Tasker/Orchestration/ViableStepDiscovery.html +1 -1
- data/docs/Tasker/Orchestration/WorkflowCoordinator.html +1 -1
- data/docs/Tasker/Orchestration.html +1 -1
- data/docs/Tasker/PageSort/PageSortParamsBuilder.html +1 -1
- data/docs/Tasker/PageSort.html +1 -1
- data/docs/Tasker/PermanentError.html +1 -1
- data/docs/Tasker/ProceduralError.html +1 -1
- data/docs/Tasker/Queries/AllAnnotationTypes.html +1 -1
- data/docs/Tasker/Queries/AllTasks.html +1 -1
- data/docs/Tasker/Queries/BaseQuery.html +1 -1
- data/docs/Tasker/Queries/Helpers.html +1 -1
- data/docs/Tasker/Queries/OneStep.html +1 -1
- data/docs/Tasker/Queries/OneTask.html +1 -1
- data/docs/Tasker/Queries/TasksByAnnotation.html +1 -1
- data/docs/Tasker/Queries/TasksByStatus.html +1 -1
- data/docs/Tasker/Queries.html +1 -1
- data/docs/Tasker/Railtie.html +1 -1
- data/docs/Tasker/Registry/BaseRegistry.html +2 -2
- data/docs/Tasker/Registry/EventPublisher.html +1 -1
- data/docs/Tasker/Registry/InterfaceValidator.html +1 -1
- data/docs/Tasker/Registry/RegistrationError.html +1 -1
- data/docs/Tasker/Registry/RegistryError.html +1 -1
- data/docs/Tasker/Registry/StatisticsCollector.html +1 -1
- data/docs/Tasker/Registry/SubscriberRegistry.html +1 -1
- data/docs/Tasker/Registry/ValidationError.html +1 -1
- data/docs/Tasker/Registry.html +1 -1
- data/docs/Tasker/RetryableError.html +1 -1
- data/docs/Tasker/StateMachine/Compatibility.html +1 -1
- data/docs/Tasker/StateMachine/InvalidStateTransition.html +1 -1
- data/docs/Tasker/StateMachine/StepStateMachine.html +1 -1
- data/docs/Tasker/StateMachine/TaskStateMachine.html +1 -1
- data/docs/Tasker/StateMachine.html +1 -1
- data/docs/Tasker/StepDagRelationship.html +1 -1
- data/docs/Tasker/StepHandler/Api/Config.html +1 -1
- data/docs/Tasker/StepHandler/Api.html +1 -1
- data/docs/Tasker/StepHandler/AutomaticEventPublishing.html +1 -1
- data/docs/Tasker/StepHandler/Base.html +1 -1
- data/docs/Tasker/StepHandler.html +1 -1
- data/docs/Tasker/StepReadinessStatus.html +1 -1
- data/docs/Tasker/Task.html +210 -113
- data/docs/Tasker/TaskAnnotation.html +1 -1
- data/docs/Tasker/TaskAnnotationSerializer.html +1 -1
- data/docs/Tasker/TaskBuilder/StepNameValidator.html +1 -1
- data/docs/Tasker/TaskBuilder/StepTemplateDefiner.html +1 -1
- data/docs/Tasker/TaskBuilder.html +1 -1
- data/docs/Tasker/TaskDiagram/StepToStepEdgeBuilder.html +1 -1
- data/docs/Tasker/TaskDiagram/TaskToRootStepEdgeBuilder.html +1 -1
- data/docs/Tasker/TaskDiagram.html +1 -1
- data/docs/Tasker/TaskDiagramsController.html +1 -1
- data/docs/Tasker/TaskExecutionContext.html +1 -1
- data/docs/Tasker/TaskHandler/ClassMethods/StepTemplateDefiner/ClassBasedEventRegistrar.html +1 -1
- data/docs/Tasker/TaskHandler/ClassMethods/StepTemplateDefiner/YamlEventRegistrar.html +1 -1
- data/docs/Tasker/TaskHandler/ClassMethods/StepTemplateDefiner.html +1 -1
- data/docs/Tasker/TaskHandler/ClassMethods.html +6 -44
- data/docs/Tasker/TaskHandler/InstanceMethods.html +1 -1
- data/docs/Tasker/TaskHandler/StepGroup.html +1 -1
- data/docs/Tasker/TaskHandler.html +1 -1
- data/docs/Tasker/TaskNamespace.html +1 -1
- data/docs/Tasker/TaskRunnerJob.html +1 -1
- data/docs/Tasker/TaskSerializer.html +1 -1
- data/docs/Tasker/TaskTransition.html +1 -1
- data/docs/Tasker/TaskerRailsSchema/InvalidObjectTypeError.html +1 -1
- data/docs/Tasker/TaskerRailsSchema/TypeResolutionError.html +1 -1
- data/docs/Tasker/TaskerRailsSchema/UnknownInterfaceError.html +1 -1
- data/docs/Tasker/TaskerRailsSchema.html +1 -1
- data/docs/Tasker/TasksController.html +1 -1
- data/docs/Tasker/Telemetry/EventMapping.html +1 -1
- data/docs/Tasker/Telemetry/EventRouter.html +1 -1
- data/docs/Tasker/Telemetry/Events/ExportEvents.html +1 -1
- data/docs/Tasker/Telemetry/Events.html +1 -1
- data/docs/Tasker/Telemetry/ExportCoordinator.html +1 -1
- data/docs/Tasker/Telemetry/IntelligentCacheManager.html +2 -2
- data/docs/Tasker/Telemetry/LogBackend.html +1 -1
- data/docs/Tasker/Telemetry/MetricTypes/Counter.html +2 -2
- data/docs/Tasker/Telemetry/MetricTypes/Gauge.html +73 -73
- data/docs/Tasker/Telemetry/MetricTypes/Histogram.html +103 -103
- data/docs/Tasker/Telemetry/MetricTypes.html +1 -1
- data/docs/Tasker/Telemetry/MetricsBackend.html +1 -1
- data/docs/Tasker/Telemetry/MetricsExportService.html +1 -1
- data/docs/Tasker/Telemetry/PluginRegistry.html +1 -1
- data/docs/Tasker/Telemetry/Plugins/BaseExporter.html +1 -1
- data/docs/Tasker/Telemetry/Plugins/CsvExporter.html +1 -1
- data/docs/Tasker/Telemetry/Plugins/JsonExporter.html +1 -1
- data/docs/Tasker/Telemetry/Plugins.html +1 -1
- data/docs/Tasker/Telemetry/PrometheusExporter.html +1 -1
- data/docs/Tasker/Telemetry/TraceBackend.html +1 -1
- data/docs/Tasker/Telemetry.html +1 -1
- data/docs/Tasker/Types/AuthConfig.html +1 -1
- data/docs/Tasker/Types/BackoffConfig.html +1 -1
- data/docs/Tasker/Types/BaseConfig.html +1 -1
- data/docs/Tasker/Types/CacheConfig.html +1 -1
- data/docs/Tasker/Types/DatabaseConfig.html +1 -1
- data/docs/Tasker/Types/DependencyGraph.html +1 -1
- data/docs/Tasker/Types/DependencyGraphConfig.html +1 -1
- data/docs/Tasker/Types/EngineConfig.html +1 -1
- data/docs/Tasker/Types/ExecutionConfig.html +1 -1
- data/docs/Tasker/Types/GraphEdge.html +1 -1
- data/docs/Tasker/Types/GraphMetadata.html +1 -1
- data/docs/Tasker/Types/GraphNode.html +1 -1
- data/docs/Tasker/Types/HealthConfig.html +1 -1
- data/docs/Tasker/Types/StepSequence.html +1 -1
- data/docs/Tasker/Types/StepTemplate.html +1 -1
- data/docs/Tasker/Types/TaskRequest.html +1 -1
- data/docs/Tasker/Types/TelemetryConfig.html +2 -2
- data/docs/Tasker/Types.html +1 -1
- data/docs/Tasker/WorkflowStep/StepFinder.html +1 -1
- data/docs/Tasker/WorkflowStep.html +1 -1
- data/docs/Tasker/WorkflowStepEdge.html +4 -6
- data/docs/Tasker/WorkflowStepSerializer.html +1 -1
- data/docs/Tasker/WorkflowStepTransition/TransitionDescriptionFormatter.html +1 -1
- data/docs/Tasker/WorkflowStepTransition.html +1 -1
- data/docs/Tasker/WorkflowStepsController.html +1 -1
- data/docs/Tasker.html +5 -21
- data/docs/VISION.md +1 -1
- data/docs/_index.html +77 -21
- data/docs/class_list.html +1 -1
- data/docs/file.README.html +14 -10
- data/docs/index.html +14 -10
- data/docs/method_list.html +1433 -1105
- data/docs/top-level-namespace.html +1 -1
- data/lib/generators/tasker/authenticator_generator.rb +5 -5
- data/lib/generators/tasker/authorization_coordinator_generator.rb +1 -1
- data/lib/generators/tasker/events_generator.rb +1 -1
- data/lib/generators/tasker/task_handler_generator.rb +4 -4
- data/lib/generators/tasker/templates/api_token_authenticator.rb.erb +1 -1
- data/lib/generators/tasker/templates/authorization_coordinator.rb.erb +13 -0
- data/lib/generators/tasker/templates/authorization_coordinator_spec.rb.erb +7 -1
- data/lib/generators/tasker/templates/custom_authenticator.rb.erb +1 -1
- data/lib/generators/tasker/templates/devise_authenticator.rb.erb +1 -1
- data/lib/generators/tasker/templates/initialize.rb.erb +1 -1
- data/lib/generators/tasker/templates/jwt_authenticator.rb.erb +1 -1
- data/lib/generators/tasker/templates/omniauth_authenticator.rb.erb +1 -1
- data/lib/generators/tasker/templates/opentelemetry_initializer.rb +4 -4
- data/lib/generators/tasker/templates/task_config.yaml.erb +25 -25
- data/lib/generators/tasker/templates/task_handler.rb.erb +2 -3
- data/lib/generators/tasker/templates/task_handler_spec.rb.erb +43 -49
- data/lib/tasker/analysis/runtime_graph_analyzer.rb +1 -1
- data/lib/tasker/authentication/coordinator.rb +2 -2
- data/lib/tasker/authorization/base_coordinator.rb +1 -1
- data/lib/tasker/authorization/resource_constants.rb +2 -1
- data/lib/tasker/authorization/resource_registry.rb +7 -0
- data/lib/tasker/authorization.rb +1 -1
- data/lib/tasker/concerns/authenticatable.rb +1 -1
- data/lib/tasker/concerns/controller_authorizable.rb +3 -3
- data/lib/tasker/concerns/structured_logging.rb +2 -2
- data/lib/tasker/events/definition_loader.rb +1 -1
- data/lib/tasker/events/subscribers/metrics_subscriber.rb +1 -1
- data/lib/tasker/events/subscribers/telemetry_subscriber.rb +5 -5
- data/lib/tasker/handler_factory.rb +2 -7
- data/lib/tasker/health/readiness_checker.rb +1 -1
- data/lib/tasker/health/status_checker.rb +1 -1
- data/lib/tasker/logging/correlation_id_generator.rb +1 -1
- data/lib/tasker/orchestration/backoff_calculator.rb +1 -1
- data/lib/tasker/orchestration/connection_builder.rb +1 -1
- data/lib/tasker/orchestration/connection_pool_intelligence.rb +3 -3
- data/lib/tasker/orchestration/step_executor.rb +2 -2
- data/lib/tasker/orchestration/task_finalizer.rb +1 -1
- data/lib/tasker/registry/base_registry.rb +1 -1
- data/lib/tasker/task_builder.rb +1 -1
- data/lib/tasker/task_handler/class_methods.rb +1 -4
- data/lib/tasker/telemetry/intelligent_cache_manager.rb +1 -1
- data/lib/tasker/telemetry/metric_types.rb +9 -57
- data/lib/tasker/telemetry/metrics_backend.rb +3 -3
- data/lib/tasker/telemetry/metrics_export_service.rb +1 -1
- data/lib/tasker/telemetry/prometheus_exporter.rb +2 -2
- data/lib/tasker/types/telemetry_config.rb +1 -1
- data/lib/tasker/version.rb +1 -2
- data/lib/tasks/tasker_tasks.rake +4 -85
- metadata +11 -7
- data/db/functions/get_step_readiness_status_single_and_batch_v02.sql +0 -223
- data/db/migrate/20250710110830_step_readiness_sql_functions_v02.rb +0 -39
- data/docs/REVERSIONING.md +0 -404
|
@@ -511,22 +511,22 @@
|
|
|
511
511
|
<pre class="lines">
|
|
512
512
|
|
|
513
513
|
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
514
|
+
136
|
|
515
|
+
137
|
|
516
|
+
138
|
|
517
|
+
139
|
|
518
|
+
140
|
|
519
|
+
141
|
|
520
|
+
142
|
|
521
|
+
143
|
|
522
|
+
144
|
|
523
|
+
145
|
|
524
|
+
146
|
|
525
|
+
147
|
|
526
|
+
148</pre>
|
|
527
527
|
</td>
|
|
528
528
|
<td>
|
|
529
|
-
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line
|
|
529
|
+
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line 136</span>
|
|
530
530
|
|
|
531
531
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='label'>labels:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='label'>initial_value:</span> <span class='int'>0</span><span class='rparen'>)</span>
|
|
532
532
|
<span class='id identifier rubyid_raise'>raise</span> <span class='const'>ArgumentError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Metric name cannot be nil or empty</span><span class='tstring_end'>'</span></span> <span class='kw'>if</span> <span class='id identifier rubyid_name'>name</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>||</span> <span class='id identifier rubyid_name'>name</span><span class='period'>.</span><span class='id identifier rubyid_strip'>strip</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span>
|
|
@@ -597,12 +597,12 @@
|
|
|
597
597
|
<pre class="lines">
|
|
598
598
|
|
|
599
599
|
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
600
|
+
128
|
|
601
|
+
129
|
|
602
|
+
130</pre>
|
|
603
603
|
</td>
|
|
604
604
|
<td>
|
|
605
|
-
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line
|
|
605
|
+
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line 128</span>
|
|
606
606
|
|
|
607
607
|
<span class='kw'>def</span> <span class='id identifier rubyid_created_at'>created_at</span>
|
|
608
608
|
<span class='ivar'>@created_at</span>
|
|
@@ -658,12 +658,12 @@
|
|
|
658
658
|
<pre class="lines">
|
|
659
659
|
|
|
660
660
|
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
661
|
+
125
|
|
662
|
+
126
|
|
663
|
+
127</pre>
|
|
664
664
|
</td>
|
|
665
665
|
<td>
|
|
666
|
-
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line
|
|
666
|
+
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line 125</span>
|
|
667
667
|
|
|
668
668
|
<span class='kw'>def</span> <span class='id identifier rubyid_labels'>labels</span>
|
|
669
669
|
<span class='ivar'>@labels</span>
|
|
@@ -719,12 +719,12 @@
|
|
|
719
719
|
<pre class="lines">
|
|
720
720
|
|
|
721
721
|
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
722
|
+
122
|
|
723
|
+
123
|
|
724
|
+
124</pre>
|
|
725
725
|
</td>
|
|
726
726
|
<td>
|
|
727
|
-
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line
|
|
727
|
+
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line 122</span>
|
|
728
728
|
|
|
729
729
|
<span class='kw'>def</span> <span class='id identifier rubyid_name'>name</span>
|
|
730
730
|
<span class='ivar'>@name</span>
|
|
@@ -825,18 +825,18 @@
|
|
|
825
825
|
<pre class="lines">
|
|
826
826
|
|
|
827
827
|
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
828
|
+
181
|
|
829
|
+
182
|
|
830
|
+
183
|
|
831
|
+
184
|
|
832
|
+
185
|
|
833
|
+
186
|
|
834
|
+
187
|
|
835
|
+
188
|
|
836
|
+
189</pre>
|
|
837
837
|
</td>
|
|
838
838
|
<td>
|
|
839
|
-
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line
|
|
839
|
+
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line 181</span>
|
|
840
840
|
|
|
841
841
|
<span class='kw'>def</span> <span class='id identifier rubyid_decrement'>decrement</span><span class='lparen'>(</span><span class='id identifier rubyid_amount'>amount</span> <span class='op'>=</span> <span class='int'>1</span><span class='rparen'>)</span>
|
|
842
842
|
<span class='kw'>unless</span> <span class='id identifier rubyid_amount'>amount</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Numeric</span><span class='rparen'>)</span>
|
|
@@ -896,16 +896,16 @@
|
|
|
896
896
|
<pre class="lines">
|
|
897
897
|
|
|
898
898
|
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
899
|
+
214
|
|
900
|
+
215
|
|
901
|
+
216
|
|
902
|
+
217</pre>
|
|
903
903
|
</td>
|
|
904
904
|
<td>
|
|
905
|
-
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line
|
|
905
|
+
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line 214</span>
|
|
906
906
|
|
|
907
907
|
<span class='kw'>def</span> <span class='id identifier rubyid_description'>description</span>
|
|
908
|
-
<span class='id identifier rubyid_label_str'>label_str</span> <span class='op'>=</span> <span class='id identifier rubyid_labels'>labels</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span> <span class='op'>?</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span> <span class='op'>:</span> <span class='id identifier
|
|
908
|
+
<span class='id identifier rubyid_label_str'>label_str</span> <span class='op'>=</span> <span class='id identifier rubyid_labels'>labels</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span> <span class='op'>?</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span> <span class='op'>:</span> <span class='id identifier rubyid_labels'>labels</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span>
|
|
909
909
|
<span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_name'>name</span><span class='embexpr_end'>}</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_label_str'>label_str</span><span class='embexpr_end'>}</span><span class='tstring_content'> = </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_value'>value</span><span class='embexpr_end'>}</span><span class='tstring_content'> (gauge)</span><span class='tstring_end'>"</span></span>
|
|
910
910
|
<span class='kw'>end</span></pre>
|
|
911
911
|
</td>
|
|
@@ -997,17 +997,17 @@
|
|
|
997
997
|
<pre class="lines">
|
|
998
998
|
|
|
999
999
|
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1000
|
+
167
|
|
1001
|
+
168
|
|
1002
|
+
169
|
|
1003
|
+
170
|
|
1004
|
+
171
|
|
1005
|
+
172
|
|
1006
|
+
173
|
|
1007
|
+
174</pre>
|
|
1008
1008
|
</td>
|
|
1009
1009
|
<td>
|
|
1010
|
-
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line
|
|
1010
|
+
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line 167</span>
|
|
1011
1011
|
|
|
1012
1012
|
<span class='kw'>def</span> <span class='id identifier rubyid_increment'>increment</span><span class='lparen'>(</span><span class='id identifier rubyid_amount'>amount</span> <span class='op'>=</span> <span class='int'>1</span><span class='rparen'>)</span>
|
|
1013
1013
|
<span class='kw'>unless</span> <span class='id identifier rubyid_amount'>amount</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Numeric</span><span class='rparen'>)</span>
|
|
@@ -1104,15 +1104,15 @@
|
|
|
1104
1104
|
<pre class="lines">
|
|
1105
1105
|
|
|
1106
1106
|
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1107
|
+
155
|
|
1108
|
+
156
|
|
1109
|
+
157
|
|
1110
|
+
158
|
|
1111
|
+
159
|
|
1112
|
+
160</pre>
|
|
1113
1113
|
</td>
|
|
1114
1114
|
<td>
|
|
1115
|
-
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line
|
|
1115
|
+
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line 155</span>
|
|
1116
1116
|
|
|
1117
1117
|
<span class='kw'>def</span> <span class='id identifier rubyid_set'>set</span><span class='lparen'>(</span><span class='id identifier rubyid_new_value'>new_value</span><span class='rparen'>)</span>
|
|
1118
1118
|
<span class='id identifier rubyid_raise'>raise</span> <span class='const'>ArgumentError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Gauge value must be numeric, got: </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_new_value'>new_value</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span> <span class='kw'>unless</span> <span class='id identifier rubyid_new_value'>new_value</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Numeric</span><span class='rparen'>)</span>
|
|
@@ -1169,18 +1169,18 @@
|
|
|
1169
1169
|
<pre class="lines">
|
|
1170
1170
|
|
|
1171
1171
|
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1172
|
+
201
|
|
1173
|
+
202
|
|
1174
|
+
203
|
|
1175
|
+
204
|
|
1176
|
+
205
|
|
1177
|
+
206
|
|
1178
|
+
207
|
|
1179
|
+
208
|
|
1180
|
+
209</pre>
|
|
1181
1181
|
</td>
|
|
1182
1182
|
<td>
|
|
1183
|
-
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line
|
|
1183
|
+
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line 201</span>
|
|
1184
1184
|
|
|
1185
1185
|
<span class='kw'>def</span> <span class='id identifier rubyid_to_h'>to_h</span>
|
|
1186
1186
|
<span class='lbrace'>{</span>
|
|
@@ -1240,12 +1240,12 @@
|
|
|
1240
1240
|
<pre class="lines">
|
|
1241
1241
|
|
|
1242
1242
|
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1243
|
+
194
|
|
1244
|
+
195
|
|
1245
|
+
196</pre>
|
|
1246
1246
|
</td>
|
|
1247
1247
|
<td>
|
|
1248
|
-
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line
|
|
1248
|
+
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line 194</span>
|
|
1249
1249
|
|
|
1250
1250
|
<span class='kw'>def</span> <span class='id identifier rubyid_value'>value</span>
|
|
1251
1251
|
<span class='ivar'>@value</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span>
|
|
@@ -1260,7 +1260,7 @@
|
|
|
1260
1260
|
</div>
|
|
1261
1261
|
|
|
1262
1262
|
<div id="footer">
|
|
1263
|
-
Generated on
|
|
1263
|
+
Generated on Tue Jul 1 16:47:37 2025 by
|
|
1264
1264
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1265
1265
|
0.9.37 (ruby-3.2.4).
|
|
1266
1266
|
</div>
|
|
@@ -616,27 +616,27 @@
|
|
|
616
616
|
<pre class="lines">
|
|
617
617
|
|
|
618
618
|
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
619
|
+
255
|
|
620
|
+
256
|
|
621
|
+
257
|
|
622
|
+
258
|
|
623
|
+
259
|
|
624
|
+
260
|
|
625
|
+
261
|
|
626
|
+
262
|
|
627
|
+
263
|
|
628
|
+
264
|
|
629
|
+
265
|
|
630
|
+
266
|
|
631
|
+
267
|
|
632
|
+
268
|
|
633
|
+
269
|
|
634
|
+
270
|
|
635
|
+
271
|
|
636
|
+
272</pre>
|
|
637
637
|
</td>
|
|
638
638
|
<td>
|
|
639
|
-
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line
|
|
639
|
+
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line 255</span>
|
|
640
640
|
|
|
641
641
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='label'>labels:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='label'>buckets:</span> <span class='const'><span class='object_link'><a href="#DEFAULT_BUCKETS-constant" title="Tasker::Telemetry::MetricTypes::Histogram::DEFAULT_BUCKETS (constant)">DEFAULT_BUCKETS</a></span></span><span class='rparen'>)</span>
|
|
642
642
|
<span class='id identifier rubyid_raise'>raise</span> <span class='const'>ArgumentError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Metric name cannot be nil or empty</span><span class='tstring_end'>'</span></span> <span class='kw'>if</span> <span class='id identifier rubyid_name'>name</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>||</span> <span class='id identifier rubyid_name'>name</span><span class='period'>.</span><span class='id identifier rubyid_strip'>strip</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span>
|
|
@@ -712,12 +712,12 @@
|
|
|
712
712
|
<pre class="lines">
|
|
713
713
|
|
|
714
714
|
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
715
|
+
241
|
|
716
|
+
242
|
|
717
|
+
243</pre>
|
|
718
718
|
</td>
|
|
719
719
|
<td>
|
|
720
|
-
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line
|
|
720
|
+
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line 241</span>
|
|
721
721
|
|
|
722
722
|
<span class='kw'>def</span> <span class='id identifier rubyid_bucket_boundaries'>bucket_boundaries</span>
|
|
723
723
|
<span class='ivar'>@bucket_boundaries</span>
|
|
@@ -773,12 +773,12 @@
|
|
|
773
773
|
<pre class="lines">
|
|
774
774
|
|
|
775
775
|
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
776
|
+
244
|
|
777
|
+
245
|
|
778
|
+
246</pre>
|
|
779
779
|
</td>
|
|
780
780
|
<td>
|
|
781
|
-
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line
|
|
781
|
+
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line 244</span>
|
|
782
782
|
|
|
783
783
|
<span class='kw'>def</span> <span class='id identifier rubyid_created_at'>created_at</span>
|
|
784
784
|
<span class='ivar'>@created_at</span>
|
|
@@ -834,12 +834,12 @@
|
|
|
834
834
|
<pre class="lines">
|
|
835
835
|
|
|
836
836
|
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
837
|
+
238
|
|
838
|
+
239
|
|
839
|
+
240</pre>
|
|
840
840
|
</td>
|
|
841
841
|
<td>
|
|
842
|
-
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line
|
|
842
|
+
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line 238</span>
|
|
843
843
|
|
|
844
844
|
<span class='kw'>def</span> <span class='id identifier rubyid_labels'>labels</span>
|
|
845
845
|
<span class='ivar'>@labels</span>
|
|
@@ -895,12 +895,12 @@
|
|
|
895
895
|
<pre class="lines">
|
|
896
896
|
|
|
897
897
|
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
898
|
+
235
|
|
899
|
+
236
|
|
900
|
+
237</pre>
|
|
901
901
|
</td>
|
|
902
902
|
<td>
|
|
903
|
-
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line
|
|
903
|
+
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line 235</span>
|
|
904
904
|
|
|
905
905
|
<span class='kw'>def</span> <span class='id identifier rubyid_name'>name</span>
|
|
906
906
|
<span class='ivar'>@name</span>
|
|
@@ -961,15 +961,15 @@
|
|
|
961
961
|
<pre class="lines">
|
|
962
962
|
|
|
963
963
|
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
964
|
+
326
|
|
965
|
+
327
|
|
966
|
+
328
|
|
967
|
+
329
|
|
968
|
+
330
|
|
969
|
+
331</pre>
|
|
970
970
|
</td>
|
|
971
971
|
<td>
|
|
972
|
-
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line
|
|
972
|
+
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line 326</span>
|
|
973
973
|
|
|
974
974
|
<span class='kw'>def</span> <span class='id identifier rubyid_average'>average</span>
|
|
975
975
|
<span class='id identifier rubyid_current_count'>current_count</span> <span class='op'>=</span> <span class='id identifier rubyid_count'>count</span>
|
|
@@ -1026,17 +1026,17 @@
|
|
|
1026
1026
|
<pre class="lines">
|
|
1027
1027
|
|
|
1028
1028
|
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1029
|
+
314
|
|
1030
|
+
315
|
|
1031
|
+
316
|
|
1032
|
+
317
|
|
1033
|
+
318
|
|
1034
|
+
319
|
|
1035
|
+
320
|
|
1036
|
+
321</pre>
|
|
1037
1037
|
</td>
|
|
1038
1038
|
<td>
|
|
1039
|
-
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line
|
|
1039
|
+
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line 314</span>
|
|
1040
1040
|
|
|
1041
1041
|
<span class='kw'>def</span> <span class='id identifier rubyid_buckets'>buckets</span>
|
|
1042
1042
|
<span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
|
@@ -1095,12 +1095,12 @@
|
|
|
1095
1095
|
<pre class="lines">
|
|
1096
1096
|
|
|
1097
1097
|
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1098
|
+
300
|
|
1099
|
+
301
|
|
1100
|
+
302</pre>
|
|
1101
1101
|
</td>
|
|
1102
1102
|
<td>
|
|
1103
|
-
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line
|
|
1103
|
+
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line 300</span>
|
|
1104
1104
|
|
|
1105
1105
|
<span class='kw'>def</span> <span class='id identifier rubyid_count'>count</span>
|
|
1106
1106
|
<span class='ivar'>@count</span><span class='period'>.</span><span class='id identifier rubyid_value'>value</span>
|
|
@@ -1154,16 +1154,16 @@
|
|
|
1154
1154
|
<pre class="lines">
|
|
1155
1155
|
|
|
1156
1156
|
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1157
|
+
352
|
|
1158
|
+
353
|
|
1159
|
+
354
|
|
1160
|
+
355</pre>
|
|
1161
1161
|
</td>
|
|
1162
1162
|
<td>
|
|
1163
|
-
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line
|
|
1163
|
+
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line 352</span>
|
|
1164
1164
|
|
|
1165
1165
|
<span class='kw'>def</span> <span class='id identifier rubyid_description'>description</span>
|
|
1166
|
-
<span class='id identifier rubyid_label_str'>label_str</span> <span class='op'>=</span> <span class='id identifier rubyid_labels'>labels</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span> <span class='op'>?</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span> <span class='op'>:</span> <span class='id identifier
|
|
1166
|
+
<span class='id identifier rubyid_label_str'>label_str</span> <span class='op'>=</span> <span class='id identifier rubyid_labels'>labels</span><span class='period'>.</span><span class='id identifier rubyid_empty?'>empty?</span> <span class='op'>?</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span> <span class='op'>:</span> <span class='id identifier rubyid_labels'>labels</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span>
|
|
1167
1167
|
<span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_name'>name</span><span class='embexpr_end'>}</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_label_str'>label_str</span><span class='embexpr_end'>}</span><span class='tstring_content'> = </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_count'>count</span><span class='embexpr_end'>}</span><span class='tstring_content'> observations, avg: </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_average'>average</span><span class='period'>.</span><span class='id identifier rubyid_round'>round</span><span class='lparen'>(</span><span class='int'>3</span><span class='rparen'>)</span><span class='embexpr_end'>}</span><span class='tstring_content'> (histogram)</span><span class='tstring_end'>"</span></span>
|
|
1168
1168
|
<span class='kw'>end</span></pre>
|
|
1169
1169
|
</td>
|
|
@@ -1253,26 +1253,26 @@
|
|
|
1253
1253
|
<pre class="lines">
|
|
1254
1254
|
|
|
1255
1255
|
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1256
|
+
279
|
|
1257
|
+
280
|
|
1258
|
+
281
|
|
1259
|
+
282
|
|
1260
|
+
283
|
|
1261
|
+
284
|
|
1262
|
+
285
|
|
1263
|
+
286
|
|
1264
|
+
287
|
|
1265
|
+
288
|
|
1266
|
+
289
|
|
1267
|
+
290
|
|
1268
|
+
291
|
|
1269
|
+
292
|
|
1270
|
+
293
|
|
1271
|
+
294
|
|
1272
|
+
295</pre>
|
|
1273
1273
|
</td>
|
|
1274
1274
|
<td>
|
|
1275
|
-
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line
|
|
1275
|
+
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line 279</span>
|
|
1276
1276
|
|
|
1277
1277
|
<span class='kw'>def</span> <span class='id identifier rubyid_observe'>observe</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
|
|
1278
1278
|
<span class='id identifier rubyid_raise'>raise</span> <span class='const'>ArgumentError</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Observed value must be numeric, got: </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span> <span class='kw'>unless</span> <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span><span class='lparen'>(</span><span class='const'>Numeric</span><span class='rparen'>)</span>
|
|
@@ -1322,14 +1322,14 @@
|
|
|
1322
1322
|
<pre class="lines">
|
|
1323
1323
|
|
|
1324
1324
|
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1325
|
+
360
|
|
1326
|
+
361
|
|
1327
|
+
362
|
|
1328
|
+
363
|
|
1329
|
+
364</pre>
|
|
1330
1330
|
</td>
|
|
1331
1331
|
<td>
|
|
1332
|
-
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line
|
|
1332
|
+
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line 360</span>
|
|
1333
1333
|
|
|
1334
1334
|
<span class='kw'>def</span> <span class='id identifier rubyid_reset!'>reset!</span>
|
|
1335
1335
|
<span class='ivar'>@count</span><span class='period'>.</span><span class='id identifier rubyid_value'>value</span> <span class='op'>=</span> <span class='int'>0</span>
|
|
@@ -1385,12 +1385,12 @@
|
|
|
1385
1385
|
<pre class="lines">
|
|
1386
1386
|
|
|
1387
1387
|
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1388
|
+
307
|
|
1389
|
+
308
|
|
1390
|
+
309</pre>
|
|
1391
1391
|
</td>
|
|
1392
1392
|
<td>
|
|
1393
|
-
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line
|
|
1393
|
+
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line 307</span>
|
|
1394
1394
|
|
|
1395
1395
|
<span class='kw'>def</span> <span class='id identifier rubyid_sum'>sum</span>
|
|
1396
1396
|
<span class='ivar'>@sum</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span>
|
|
@@ -1444,21 +1444,21 @@
|
|
|
1444
1444
|
<pre class="lines">
|
|
1445
1445
|
|
|
1446
1446
|
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1447
|
+
336
|
|
1448
|
+
337
|
|
1449
|
+
338
|
|
1450
|
+
339
|
|
1451
|
+
340
|
|
1452
|
+
341
|
|
1453
|
+
342
|
|
1454
|
+
343
|
|
1455
|
+
344
|
|
1456
|
+
345
|
|
1457
|
+
346
|
|
1458
|
+
347</pre>
|
|
1459
1459
|
</td>
|
|
1460
1460
|
<td>
|
|
1461
|
-
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line
|
|
1461
|
+
<pre class="code"><span class="info file"># File 'lib/tasker/telemetry/metric_types.rb', line 336</span>
|
|
1462
1462
|
|
|
1463
1463
|
<span class='kw'>def</span> <span class='id identifier rubyid_to_h'>to_h</span>
|
|
1464
1464
|
<span class='lbrace'>{</span>
|
|
@@ -1482,7 +1482,7 @@
|
|
|
1482
1482
|
</div>
|
|
1483
1483
|
|
|
1484
1484
|
<div id="footer">
|
|
1485
|
-
Generated on
|
|
1485
|
+
Generated on Tue Jul 1 16:47:37 2025 by
|
|
1486
1486
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1487
1487
|
0.9.37 (ruby-3.2.4).
|
|
1488
1488
|
</div>
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
</div>
|
|
144
144
|
|
|
145
145
|
<div id="footer">
|
|
146
|
-
Generated on
|
|
146
|
+
Generated on Tue Jul 1 16:47:35 2025 by
|
|
147
147
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
148
148
|
0.9.37 (ruby-3.2.4).
|
|
149
149
|
</div>
|
|
@@ -2500,7 +2500,7 @@
|
|
|
2500
2500
|
</div>
|
|
2501
2501
|
|
|
2502
2502
|
<div id="footer">
|
|
2503
|
-
Generated on
|
|
2503
|
+
Generated on Tue Jul 1 16:47:38 2025 by
|
|
2504
2504
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
2505
2505
|
0.9.37 (ruby-3.2.4).
|
|
2506
2506
|
</div>
|
|
@@ -568,7 +568,7 @@
|
|
|
568
568
|
</div>
|
|
569
569
|
|
|
570
570
|
<div id="footer">
|
|
571
|
-
Generated on
|
|
571
|
+
Generated on Tue Jul 1 16:47:40 2025 by
|
|
572
572
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
573
573
|
0.9.37 (ruby-3.2.4).
|
|
574
574
|
</div>
|
|
@@ -1764,7 +1764,7 @@
|
|
|
1764
1764
|
</div>
|
|
1765
1765
|
|
|
1766
1766
|
<div id="footer">
|
|
1767
|
-
Generated on
|
|
1767
|
+
Generated on Tue Jul 1 16:47:38 2025 by
|
|
1768
1768
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1769
1769
|
0.9.37 (ruby-3.2.4).
|
|
1770
1770
|
</div>
|
|
@@ -1825,7 +1825,7 @@
|
|
|
1825
1825
|
</div>
|
|
1826
1826
|
|
|
1827
1827
|
<div id="footer">
|
|
1828
|
-
Generated on
|
|
1828
|
+
Generated on Tue Jul 1 16:47:40 2025 by
|
|
1829
1829
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1830
1830
|
0.9.37 (ruby-3.2.4).
|
|
1831
1831
|
</div>
|
|
@@ -758,7 +758,7 @@
|
|
|
758
758
|
</div>
|
|
759
759
|
|
|
760
760
|
<div id="footer">
|
|
761
|
-
Generated on
|
|
761
|
+
Generated on Tue Jul 1 16:47:40 2025 by
|
|
762
762
|
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
763
763
|
0.9.37 (ruby-3.2.4).
|
|
764
764
|
</div>
|