Przejdź do treści
Biblioteka skilli
DevOps i chmura · Integracja z narzędziem

oci-observability-db

/oci-observability-db

Obsługuje obserwowalność w OCI: Monitoring, Logging, APM, OpenTelemetry, Notifications, Service Connector Hub, alarmy, dashboardy, integracje z Grafana i konwersję PromQL do MQL.

Repozytorium
oci-skills ↗
Licencja
MIT
Ostatnia zmiana repozytorium
26.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
4
Skrypty
1
Komentarze HTML
0
Adresy URL w SKILL.md
4
Przestarzałość

Brak sygnałów. Repozytorium zmienione 26.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co sprawdzić przed instalacją
  • 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: scripts/promql_to_mql.py

Co robi i kiedy

Obsługuje obserwowalność w OCI: Monitoring, Logging, APM, OpenTelemetry, Notifications, Service Connector Hub, alarmy, dashboardy, integracje z Grafana i konwersję PromQL do MQL.

Oryginalny opis (EN)

Operate OCI Monitoring, Logging, APM, OpenTelemetry, Notifications, Service Connector Hub, service/custom logs, metrics, alarms, dashboards, agent traces, Grafana integrations, PromQL-to-MQL conversion, and Linux or Windows host dashboards. Use for telemetry collection, queries, alerting, trace integrity, logging pipelines, exporter metrics, or observability inventory. Route Database Management, Operations Insights, Performance Hub, AWR/ADDM/ASH, and DBSNMP to oci-dbm-opsi; route Autonomous Database lifecycle to oci-autonomous-db.

Jak działa

  1. First decisions
  2. First move
  3. Routing
  4. Common multi-step flows
  5. Safety
  6. Failure discrimination
  7. Validation and evidence
  8. Expected output
  9. Official documentation
Sekcje z nagłówków SKILL.md, w oryginale · 101 linii, 755 słów
Podgląd SKILL.md
---
name: oci-observability-db
description: >-
  Operate OCI Monitoring, Logging, APM, OpenTelemetry, Notifications, Service Connector Hub, service/custom logs, metrics, alarms, dashboards, agent traces, Grafana integrations, PromQL-to-MQL conversion, and Linux or Windows host dashboards. Use for telemetry collection, queries, alerting, trace integrity, logging pipelines, exporter metrics, or observability inventory. Route Database Management, Operations Insights, Performance Hub, AWR/ADDM/ASH, and DBSNMP to oci-dbm-opsi; route Autonomous Database lifecycle to oci-autonomous-db.
---

# OCI Observability

Preflight the named context, query current telemetry configuration, and search the KB before changing an alarm, log, connector, or APM resource. Run every CLI through `oci_cli`, every mutation through risk-classified `run_action`, and every shared output through redaction.

Apply the shared [skill entrypoint quality standard](../../references/skill-quality-standard.md).
Keep collection, storage, query, correlation, visualization, alerting, and
response as separately verified layers.

## First decisions

Identify the operator question, telemetry signal (metric, event, log, or trace),
producer, collector, namespace/source, resource and correlation identifiers,
scope, time window, retention/cost, expected cardinality, alert destination,
owner, and the canary that proves the path. Decide whether the task is missing
data, wrong data, slow data, visualization, alerting, or response before changing
configuration.

## First move

```bash
./scripts/oci_preflight.sh -c "$COMPARTMENT_OCID"
```

If the resolved tenancy/compartment does not match the intended target, stop
before changing an alarm, log, connector, or APM resource.

## Routing

| Intent | Owner |
|---|---|
| Metrics, alarms, Logging, APM, OTel, RUM, Notifications, connectors | This skill |
| Prometheus metric queries → OCI MQL; node/windows exporter dashboards | This skill |
| Log Analytics OCL/LQL sources/parsers/detections | **oci-log-analytics** |
| DBM, OPSI, Performance Hub, AWR/ADDM/ASH, DBSNMP | **oci-dbm-opsi** |
| ADB provision/scale/wallet/ACL | **oci-autonomous-db** |
| Build GenAI agents/RAG/model endpoints | Official `oracle/skills` `oci/enterprise-ai` |

Read [observability-db.md](../../references/observability-db.md) for command
shapes, [grafana-dashboards.md](../../references/grafana-dashboards.md) for
dashboards-as-code, and
[prometheus-mql-host-dashboards.md](../../references/prometheus-mql-host-dashboards.md)
for bounded PromQL conversion and prepared Linux/Windows profiles.

## Common multi-step flows

| Task | Sequence |
|---|---|
| Add an alarm | list current → verify metric namespace/query → ensure destination is active → additive action → re-list/test notification |
| Missing traces | list APM domains → resolve correct domain/key without printing it → verify private OTLP endpoint → send test → re-query |
| Service logs | list groups/logs → write source config to `0600` file → additive action → verify ingestion and retention |
| Gate agent traces | query integrity score/state → identify missing spans/attributes → keep prompt capture off → re-score before promotion |
| Convert PromQL to MQL | identify metric type + labels + units → convert only a supported shape with `python3 skills/oci-observability-db/scripts/promql_to_mql.py` → verify namespace/dimensions → compare live series with PromQL |
| Build Linux or Windows host dashboard | identify exporter/version → list emitted metric definitions → render the matching profile → validate every MQL panel → additive provision/import → verify populated panels |

## Safety

- Never expose datakeys, domain IDs, endpoints, OCIDs, IPs, or tenant namespaces.
- Store nested configuration in `0600` `file://` payloads, not argv.
- Treat empty results as inconclusive until region, subtree, time window, and permissions are checked.
- Re-list after a `409` rather than retrying a create.
- Every mutation runs through `run_action --risk <additive|in-place>
  --compartment <COMPARTMENT_OCID> --description "<...>" -- oci_cli ...`
  (honors `OCI_SKILLS_DRY_RUN=true` for a no-op preview); get explicit user
  confirmation before applying an alarm, connector, or APM change.
- Treat converted MQL and rendered dashboards as candidates until every query
  parses and returns the intended dimensions and units; reject unsupported
  PromQL rather than guessing.

## Failure discrimination

- No datapoints can mean wrong region/scope/window/dimensions, collection lag,
  inactive producer, permission, connector failure, retention, or real absence.
- A query that parses does not prove correct units, dimensions, aggregation,
  cardinality, or live data.
- An alarm in `OK` can mean healthy service, missing stream, wrong query, or
  pending evaluation. Prove the metric and notification route independently.
- Trace ingestion does not prove complete propagation or correlation. Verify
  root/child spans and required resource, environment, tenant, and trace IDs.

## Validation and evidence

Validate queries and dashboard definitions offline where supported. In a named
context, inventory definitions before datapoints, run the query for a bounded
window, verify units/dimensions, inject or select an authorized known canary,
confirm storage and visualization, exercise alarm-to-notification delivery, and
record retention/cost implications. For traces, verify the full expected span
shape and missing-attribute behavior with prompt/body capture disabled. Report
each layer's evidence separately; a green dashboard alone is not end-to-end
observability proof.

## Expected output

Report finding, redacted evidence, exact risk-classified action or read, verification, and KB reference. For database telemetry work, state the handoff owner rather than performing DBM/OPSI here.

## Official documentation

[Monitoring](https://docs.oracle.com/en-us/iaas/Content/Monitoring/home.htm) · [Logging](https://docs.oracle.com/en-us/iaas/Content/Logging/home.htm) · [APM](https://docs.oracle.com/en-us/iaas/application-performance-monitoring/home.htm) · [Service Connector Hub](https://docs.oracle.com/en-us/iaas/Content/connector-hub/home.htm). Full list in the [observability-db reference](../../references/observability-db.md).

**Open Knowledge Format grounding** - every doc link here is registered and liveness-checked in the [oracle-docs.md index](../../references/oracle-docs.md) (the pack's single source of truth). When extending this skill, cite the most specific official page through that index; the non-official MCP gateway is never a source of truth.
Pliki w paczce (4)
  • SKILL.md 7 KB
  • agents/openai.yaml 1 KB
  • assets/host-dashboard-profiles.json 9 KB
  • scripts/promql_to_mql.py 11 KB

Wersje

W bazie nie ma innych skilli o nazwie oci-observability-db.

Migawka bazy z 13.11.2026 · wersja paczki a5ccfbb46eb5 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100oci-dbm-opsi
    Pomaga włączać, walidować i diagnozować Database Management oraz Operations Insights dla baz OCI: prywatne punkty końcowe, Performance Hub, AWR, ADDM, ASH, użytkownicy DBSNMP i ingestię Log Analytics.
  • 100oraclecloud-observability
    Konfiguruje programowo monitoring, logi i alarmy dla zasobów OCI, w tym metryki, reguły alarmów, własne metryki i przeszukiwanie logów w usłudze Logging.
  • 100oraclecloud-query-transform
    Odpytuje metryki OCI językiem MQL i tworzy alarmy monitoringu przez Python SDK, na przykład dla CPU, pamięci i ruchu sieciowego.
  • 90observability-engineer
    Konfiguruje monitoring, logowanie, metryki, śledzenie i alerty, w tym dashboardy Prometheus i Grafana, OpenTelemetry i testy obciążeniowe.
  • 95apm-observability
    Planuje obserwowalność aplikacji: metryki, śledzenie rozproszone, logi, SLI i SLO, budżet błędów oraz alerty i dyżury.
  • 95observability
    Przygotowuje obserwowalność usługi: logi strukturalne, metryki, ślady OpenTelemetry, SLO i alerty oparte na objawach.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.