원클릭으로
layer-11-apm
Expert knowledge for APM (Observability) Layer modeling in Documentation Robotics
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Expert knowledge for APM (Observability) Layer modeling in Documentation Robotics
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | LAYER_11_APM |
| description | Expert knowledge for APM (Observability) Layer modeling in Documentation Robotics |
| triggers | ["APM","observability","monitoring","metrics","spans","traces","logs","OpenTelemetry","telemetry"] |
| version | 0.7.0 |
Layer Number: 11 Specification: Metadata Model Spec v0.7.0 Purpose: Defines observability using OpenTelemetry 1.0+, specifying traces, metrics, logs, and instrumentation.
The APM Layer captures application performance monitoring:
This layer uses OpenTelemetry 1.0+ (industry standard for observability).
Central Entity: The Span (unit of work in trace) is the core modeling unit.
| Entity Type | Description |
|---|---|
| APMConfiguration | Root configuration for observability |
| TraceConfiguration | Distributed tracing configuration |
| Span | Unit of work in distributed trace |
| SpanEvent | Timestamped event within span |
| MetricConfiguration | Metrics collection configuration |
| MeterConfig | Meter for metric instruments |
| InstrumentConfig | Metric instrument (counter, gauge, histogram) |
| LogConfiguration | Structured logging configuration |
| LogRecord | Individual log record |
| Resource | Telemetry resource attributes |
| Attribute | Key-value telemetry attribute |
| InstrumentationScope | Scope of instrumentation |
| DataQualityMetric | Data quality metrics |
| DataQualityMetrics | Collection of data quality metrics |
Activate when the user:
Outgoing (APM → Other Layers):
instrumented-service → Application Layer (which service is being monitored?)business-metrics → Business Layer (business KPIs)Incoming (Other Layers → APM):
# Add span
dr add apm span --name "Process Order"
# Add metric
dr add apm instrument-config --name "order_rate" --property type=counter
# Add log record
dr add apm log-record --name "Error Log"
# List APM elements
dr list apm span
# Validate APM layer
dr validate --layer apm
# Export APM configuration
dr export --layer apm --format json
id: apm.span.process-order
name: "Process Order Span"
type: span
properties:
spanKind: INTERNAL
operationName: process_order
attributes:
- key: order.id
type: string
- key: order.total
type: double
- key: customer.id
type: string
events:
- name: order_validated
timestamp: relative
- name: payment_processed
timestamp: relative
- name: inventory_reserved
timestamp: relative
instrumented-service: application.service.order-processing
business-metrics:
- apm.metric.orders-processed
- apm.metric.order-processing-time
sla-target-latency: 500ms
sla-target-availability: 99.9%
id: apm.metric.order-rate
name: "Order Rate Metric"
type: instrument-config
properties:
instrumentType: counter
unit: orders
description: "Number of orders processed"
attributes:
- key: order.type
type: string
values: [standard, express, subscription]
- key: payment.method
type: string
values: [credit_card, paypal, bank_transfer]
business-context:
kpi: true
dashboard: revenue-dashboard
alerts:
- threshold: 100
condition: less-than
severity: warning
message: "Order rate below threshold"
id: apm.data-quality-metrics.user-data
name: "User Data Quality Metrics"
type: data-quality-metrics
properties:
entity: data_model.object-schema.user
metrics:
- name: completeness
type: gauge
description: "Percentage of non-null required fields"
target: 95%
- name: validity
type: gauge
description: "Percentage of records passing validation"
target: 99%
- name: uniqueness
type: gauge
description: "Percentage of unique email addresses"
target: 100%
- name: freshness
type: histogram
description: "Time since last update"
target: 24h
Expert knowledge for Data Store Layer modeling in Documentation Robotics
Graph-based code intelligence for using dr analyzer subcommands to understand codebase structure, discover elements, and verify model alignment
Expert knowledge for Application Layer modeling in Documentation Robotics
Expert knowledge for Motivation Layer modeling in Documentation Robotics
Expert knowledge for Business Layer modeling in Documentation Robotics
Expert knowledge for Security Layer modeling in Documentation Robotics