Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Template contribution]: prometheus-auto-slo-policies

Aperta
#106 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 4 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
38/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github, javascript, yaml

Direzione di ricerca

Read CONTRIBUTING.md § Authoring a template and inspect the source workflow at the linked next-gen-o11y path; the issue also cites the library path and npm run build:catalog. Confirm the install form values are bound as described and the catalog build passes. Done also requires installing and running it on a Serverless Observability project with Prometheus or OTLP metrics and seeing zero editor validation errors; the related PR is already in flight.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

What does your template do?

Gap-only availability SLOs for detected Prometheus services (plus estate groupBy SLO). Uses kibana.request / Observability SLO APIs — deterministic ids, healthy bootstrap targets suitable for demos.

Demo workflow name: prometheus-slo-policies
Proposed library slug: prometheus-auto-slo-policies

Install form variables (must be present)
Field inputType required default Used as
agent-id text yes elastic-ai-agent optional agent verify step
metrics-index esIndex yes metrics-generic.prometheus-* SLI index / ES|QL filter source
slo-target number no 0.90 consts.slo_target (lab-friendly; operators can raise to 0.999)
Template YAML or pull request

Source: https://github.com/elastic/next-gen-o11y/blob/main/workflows/prometheus-slo-policies.kibana.yaml

In PR https://github.com/elastic/workflows/pull/94. Confirm Serverless Observability SLO create succeeds with only install-form values.

Library format (required — Serverless-safe)

Follow CONTRIBUTING.md § Authoring a template:

  • Path: library/workflows/<slug>/<slug>.yaml
  • template-metadata with slug, version, availability: ">=9.5.0", name, description, solutions: [observability], categories
  • No hardcoded project URLs / space IDs / API keys
  • Promote environment-specific values to install.form and bind via bare __install__.<field> → consts: (never wrap __install__ in {{ }})
  • ai.agent steps: agent-id: __install__.agent-id (default elastic-ai-agent)
  • ES|QL / Streams: FROM {{ consts.metrics_index }} / stream name from consts
  • Validate: npm run build:catalog must pass
  • Install + run once on an Elastic Cloud Serverless Observability project with Prom/OTLP metrics — zero editor validation errors
Related
Lingua principale
JavaScript
Stelle
59
Fork
38
Merge medio
3g 9h
PR unite (30g)
11

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di elastic/workflows

Tutte le issue di elastic/workflows

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.