Community생산성 & 협업github.com

elastic/observability-manage-slos

Kibana API를 사용하여 Elastic Observability에서 SLO를 생성하고 관리합니다. SLI 정의, 오류 예산 설정 또는 SLO 수명 주기 관리 시 사용하세요.

observability-manage-slos란 무엇인가요?

이 스킬은 Elastic Observability 내에서 SLO(서비스 수준 목표)를 생성, 관리 및 모니터링할 수 있는 기능을 제공합니다. Kibana API를 활용하여 SLI(서비스 수준 지표)를 정의하고, 오류 예산을 설정하며, SLO의 전체 수명 주기를 관리하는 데 중점을 둡니다. 개발자와 SRE 팀은 이 스킬을 통해 서비스 안정성 목표를 코드로 정의하고, 실시간 성능을 추적하며, 사전 정의된 임계값을 위반할 때 알림을 받을 수 있습니다. Elastic Observability 플랫폼을 사용하는 모든 환경에서 SLO 기반의 사이트 안정성 엔지니어링(SRE) 관행을 간소화하고 자동화하는 데 이상적입니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/elastic/agent-skills/tree/main/skills/observability-manage-slos

Installed? Explore more 생산성 & 협업 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

observability-manage-slos은(는) 무엇을 하나요?

Kibana API를 사용하여 Elastic Observability에서 SLO를 생성하고 관리합니다. SLI 정의, 오류 예산 설정 또는 SLO 수명 주기 관리 시 사용하세요.

개요

이 스킬은 Elastic Observability 환경에서 SLO(서비스 수준 목표)를 프로그래밍 방식으로 관리하는 방법을 제공합니다. SLO 정의, SLI(서비스 수준 지표) 구성, 오류 예산 계산 및 SLO 상태 모니터링을 지원합니다.

사전 요구 사항

  • Elastic Cloud 또는 자체 관리형 Elastic Stack 인스턴스
  • Kibana API에 접근할 수 있는 API 키 또는 사용자 인증 정보
  • Elastic Observability가 활성화된 대상 Kibana 공간

구성

스킬은 일반적으로 다음 환경 변수를 사용하여 Kibana API 엔드포인트와 인증을 구성합니다.

  • KIBANA_URL - Kibana 인스턴스의 기본 URL
  • KIBANA_API_KEY - API 인증을 위한 API 키

사용법

SLO 생성

새 SLO를 생성하려면 다음 매개변수와 함께 POST 요청을 Kibana API에 보냅니다.

{
  "name": "내 서비스 가용성",
  "description": "프로덕션 서비스 가용성 99.9%",
  "indicator": {
    "type": "sli.kql.custom",
    "params": {
      "index": "my-service-logs-*",
      "filter": "service.name: my-service AND event.outcome: success",
      "good": 1,
      "total": 1,
      "timestampField": "@timestamp"
    }
  },
  "timeWindow": {
    "duration": "30d",
    "type": "rolling"
  },
  "budgetingMethod": "occurrences",
  "objective": {
    "target": 99.9
  }
}

SLO 목록 조회

GET kbn:/api/observability/slos

SLO 업데이트

PUT kbn:/api/observability/slos/{sloId}

SLO 삭제

DELETE kbn:/api/observability/slos/{sloId}

예제

오류 예산 확인

GET kbn:/api/observability/slos/{sloId}/status

SLO 요약 가져오기

GET kbn:/api/observability/slos/_summary

참고 사항

  • 모든 API 호출에는 적절한 kbn-xsrf: true 헤더가 필요합니다.
  • SLO ID는 생성 시 자동으로 할당되며 업데이트 및 삭제 작업에 필요합니다.
  • 오류 예산은 SLO에 정의된 기간(window)을 기준으로 계산됩니다.
  • SLI 유형에는 사용자 정의 KQL 쿼리, 메트릭 임계값, 기타 사전 정의된 지표가 포함될 수 있습니다.

문제 해결

  • 401 Unauthorized: API 키 또는 사용자 인증 정보가 올바르게 구성되었는지 확인합니다.
  • 404 Not Found: SLO ID가 존재하는지 확인합니다.
  • 400 Bad Request: 요청 페이로드가 예상 스키마와 일치하는지 확인합니다. Kibana API 문서를 참조하세요.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

elastic/cloud-access-management

Manage Elastic Cloud organization access: invite users, assign roles to Serverless projects, and create or revoke Cloud API keys. Use when granting, modifying, or auditing user access.

elastic/cloud-create-project

Creates Elastic Cloud Serverless projects (Elasticsearch, Observability, or Security) via the REST API, saves credentials to file, and bootstraps a scoped Elasticsearch API key. Use when creating a new serverless project, provisioning a search or observability environment, or spinning up a new Elastic Cloud project.

elastic/cloud-manage-project

Manages existing Elastic Cloud Serverless projects: list, get, update, delete, reset credentials, resume, and load saved credentials. Connects to existing projects by resolving endpoints and acquiring scoped Elasticsearch API keys. Use when performing day-2 operations on serverless projects, connecting to an existing project, loading or resetting project credentials, or looking up project details.

elastic/cloud-network-security

Manage Serverless network security (traffic filters): create, update, and delete IP filters and AWS PrivateLink VPC filters. Use when restricting network access or configuring private connectivity.

elastic/cloud-setup

Configures Elastic Cloud authentication and environment defaults. Use when setting up EC_API_KEY, configuring Cloud API access, or when another cloud skill requires credentials.

elastic/elasticsearch-audit

Enable, configure, and query Elasticsearch security audit logs. Use when the task involves audit logging setup, event filtering, or investigating security incidents like failed logins.

elastic/elasticsearch-authn

Authenticate to Elasticsearch using native, file-based, LDAP/AD, SAML, OIDC, Kerberos, JWT, or certificate realms. Use when connecting with credentials, choosing a realm, or managing API keys. Assumes the target realms are already configured.

elastic/elasticsearch-authz

Manage Elasticsearch RBAC: native users, roles, role mappings, document- and field-level security. Use when creating users or roles, assigning privileges, or mapping external realms like LDAP/SAML.

elastic/elasticsearch-esql

Execute ES|QL (Elasticsearch Query Language) queries, use when the user wants to query Elasticsearch data, analyze logs, aggregate metrics, explore data, or create charts and dashboards from ES|QL results.

elastic/elasticsearch-file-ingest

Ingest and transform data files (CSV/JSON/Parquet/Arrow IPC) into Elasticsearch with stream processing and custom transforms. Use when loading files or batch importing data — not for reindexing, general ingest pipeline design, or bulk API patterns.

elastic/elasticsearch-onboarding

Help developers new to Elasticsearch get from zero to a working search experience. Guide them through understanding their intent, mapping their data, and building a search experience with best practices baked in. Use this when the user shows intent to build search-related functionality, asks about Elasticsearch-related concepts for their use case, or expresses the need for help getting started with Elasticsearch.

elastic/elasticsearch-security-troubleshooting

Diagnose and resolve Elasticsearch security errors: 401/403 failures, TLS problems, expired API keys, role mapping mismatches, and Kibana login issues. Use when the user reports a security error.

elastic/kibana-agent-builder

Create and manage Agent Builder agents and custom tools in Kibana. Use when asked to create, update, delete, test, or inspect agents or tools in Agent Builder.

elastic/kibana-alerting-rules

Create and manage Kibana alerting rules via REST API or Terraform. Use when creating, updating, or managing rule lifecycle (enable, disable, mute, snooze) or rules-as-code workflows.

elastic/kibana-audit

Enable and configure Kibana audit logging for saved object access, logins, and space operations. Use when setting up Kibana audit, filtering events, or correlating Kibana and ES audit logs.

elastic/kibana-connectors

Create and manage Kibana connectors for Slack, PagerDuty, Jira, webhooks, and more via REST API or Terraform. Use when configuring third-party integrations or managing connectors as code.

elastic/kibana-dashboards

Create and manage Kibana Dashboards and visualizations. Use when you need to define dashboards and visualizations declaratively, version control them, or automate their deployment.

elastic/kibana-streams

List, inspect, enable, disable, and resync Kibana Streams via the REST API. Use when the user needs stream details, ingest/query settings, queries, significant events, or attachments.

elastic/kibana-vega

Create Vega and Vega-Lite visualizations with ES|QL data sources in Kibana. Use when building custom charts, dashboards, or programmatic panel layouts beyond standard Lens charts.

elastic/observability-edot-dotnet-instrument

Instrument a .NET application with the Elastic Distribution of OpenTelemetry (EDOT) .NET SDK for automatic tracing, metrics, and logs. Use when adding observability to a .NET service that has no existing APM agent.

관련 스킬