---
name: algolia-observability-5d945107d496
description: >-
  Instrument an Algolia integration for actionable availability, latency, freshness, relevance, and event-health signals. Use when defining dashboards, alerts, traces, or service objectives. Trigger with "monitor Algolia", "Algolia metrics", or "search observability".
argument-hint: "[repository-path] [service-or-journey]"
allowed-tools: Read, Glob, Grep, WebFetch, Write, Edit
version: 1.8.0
author: Jeremy Longshore <jeremy@intentsolutions.io>
license: MIT
tags:
- saas
- algolia
- observability
model: inherit
effort: medium
compatibility: Designed for Claude Code
---
# Algolia Search Observability

## Overview

This skill instruments the application-owned search journey rather than substituting generic provider claims. It connects client outcomes, request IDs, index publication, source freshness, and product-level relevance indicators.

## Prerequisites

- A named repository, environment, and Algolia application or index in scope
- The local lockfile and installed client types as implementation authority
- A safe read-only query or explicitly disposable test target
- Current first-party documentation for any provider behavior that affects the change

## Tool Discipline

Use `Read`, `Glob`, and `Grep` to inspect local code, configuration names, tests, and dependency versions. Use `WebFetch` only for current official Algolia documentation. Use `Write` or `Edit` only after identifying the target files, constraints, and verification plan.

## Current Contract

- Derive thresholds and objectives from the product SLO and measured baseline; do not use universal latency numbers.
- Separate application latency from Algolia request latency and rendering time.
- Track source snapshot to completed indexing task to searchable sentinel for freshness.
- Treat event delivery and query-ID coverage as their own health surface.

## Authentication

Telemetry must exclude API keys, raw personal data, sensitive queries, and unrestricted record payloads. Use approved read-only monitoring access where provider data is needed.

## Instructions

1. Define the user journey, owned SLOs, current baseline, and incident-routing owner.
2. Instrument operation, outcome, duration, index alias, environment, SDK version, request ID, and bounded retry count.
3. Add freshness markers linking source snapshot, task completion, and searchable sentinel.
4. Measure no-result and event coverage using privacy-reviewed aggregation.
5. Build dashboards and alerts from sustained error-budget or baseline deviation, not a copied threshold.
6. Test telemetry during success, denial, timeout, stale-index, and event-failure scenarios.

## Approval Boundaries

Do not log secrets or raw sensitive queries, create arbitrary alert thresholds, or enable high-cardinality labels without review.

## Output

Return the signal catalog, field and redaction schema, SLO mapping, dashboards, alerts, synthetic checks, test evidence, and known blind spots.

## Error Handling

| Condition | Response |
|---|---|
| Request ID unavailable | Preserve local trace correlation and full redacted error metadata. |
| High cardinality detected | Aggregate or hash approved identifiers. |
| Provider and app latency differ | Split the spans and investigate the dominant segment. |
| No product SLO exists | Report measurements and request an owner decision. |

## Examples

Use this compact input and expected handoff to calibrate scope and evidence quality.

Input:

```text
journey=product-search; slo=company-owned; fields=operation,outcome,duration,index
```

Expected handoff:

```text
secret-fields=blocked; freshness-sentinel=pass; alert-threshold=baseline-derived
```

## Resources

- [Skill-specific official documentation](references/official-docs.md)
- [Monitoring API](https://www.algolia.com/doc/rest-api/monitoring)
- [Algolia status](https://status.algolia.com/)
- [Sending events](https://www.algolia.com/doc/guides/sending-events)


---
Source attribution: jeremylongshore
Original project: https://github.com/jeremylongshore/claude-code-plugins-plus-skills/blob/ab85a061f7bcc039dac13ee193de7a4cd4388571/plugins/saas-packs/algolia-pack/skills/algolia-observability/SKILL.md
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Mega AI Hub.

## Upstream license notice

MIT License

Copyright (c) 2025 Jeremy Longshore

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



# Mega AI Hub resource metadata

Creator / publisher: jeremylongshore
Original project: https://github.com/jeremylongshore/claude-code-plugins-plus-skills/blob/ab85a061f7bcc039dac13ee193de7a4cd4388571/plugins/saas-packs/algolia-pack/skills/algolia-observability/SKILL.md
Attribution basis: Source repository record

Fields of work: Data & Analytics, Development & Engineering, Product Management
Roles: Backend Developer, Data Analyst, DevOps / SRE, ML / AI Engineer, Product Manager
Specialties: API, Design, Frontend
Tools: Grafana, Opentelemetry, Prometheus
Country applicability: Country not specified
Classification basis: Source catalog labels
Instruction SHA-256: 890b59c543300622750212c53f8dfd45208a7d053b386155a9d001b911b602c8
