- harness/es.py: append-only event store + проекции (образец — кооп-портал) - harness/levels.py: уровни 1с/1м/1ч/1д, контекст ∝ масштабу - harness/scheduler.py: уровневые потоки, идемпотентные тики, absorbed-стабы - harness/isolated_runner.py + _llm_worker.py: LLM-тик в сабпроцессе (глобальный asyncio-рантайм Strands не переживает 2+ create_harness) - cli.py: init/task/tasks/status/events + requeue (написан самим минутным агентом) - 9router: отдельный ключ sk-simbiot, модель auto (glm-5.3 первым)
28 lines
1 KiB
Python
28 lines
1 KiB
Python
# Copyright The OpenTelemetry Authors
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
from enum import Enum
|
|
from typing import Final
|
|
|
|
DEPLOYMENT_ENVIRONMENT_NAME: Final = "deployment.environment.name"
|
|
"""
|
|
Name of the [deployment environment](https://wikipedia.org/wiki/Deployment_environment) (aka deployment tier).
|
|
Note: `deployment.environment.name` does not affect the uniqueness constraints defined through
|
|
the `service.namespace`, `service.name` and `service.instance.id` resource attributes.
|
|
This implies that resources carrying the following attribute combinations MUST be
|
|
considered to be identifying the same service:
|
|
|
|
- `service.name=frontend`, `deployment.environment.name=production`
|
|
- `service.name=frontend`, `deployment.environment.name=staging`.
|
|
"""
|
|
|
|
|
|
class DeploymentEnvironmentNameValues(Enum):
|
|
PRODUCTION = "production"
|
|
"""Production environment."""
|
|
STAGING = "staging"
|
|
"""Staging environment."""
|
|
TEST = "test"
|
|
"""Testing environment."""
|
|
DEVELOPMENT = "development"
|
|
"""Development environment."""
|