palantir-observability

Featured

Set up observability for Palantir Foundry integrations with metrics, logging, and alerts. Use when implementing monitoring for Foundry API calls, setting up dashboards, or configuring alerting for Foundry integration health. Trigger with phrases like "palantir monitoring", "foundry metrics", "palantir observability", "monitor foundry", "foundry alerts".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Palantir Observability ## Overview Set up comprehensive observability for Foundry integrations: structured logging with request IDs, Prometheus metrics for API latency/errors, health check endpoints, and alert rules. ## Prerequisites - Working Foundry integration - Prometheus + Grafana (or equivalent monitoring stack) - Familiarity with `palantir-prod-checklist` ## Instructions ### Step 1: Structured Logging ```python import logging, json, time, uuid class FoundryLogger: def __init__(self): self.logger = logging.getLogger("foundry") handler = logging.StreamHandler() handler.setFormatter(logging.Formatter("%(message)s")) self.logger.addHandler(handler) self.logger.setLevel(logging.INFO) def log_api_call(self, method: str, endpoint: str, status: int, duration_ms: float): self.logger.info(json.dumps({ "timestamp": time.strftime("%Y-%m-%dT%H:%M:%SZ", time.gmtime()), "request_id": str(uuid.uuid4())[:8], "service": "foundry", "method": method, "endpoint": endpoint, "status": status, "duration_ms": round(duration_ms, 2), "level": "error" if status >= 400 else "info", })) ``` ### Step 2: Prometheus Metrics ```python from prometheus_client import Counter, Histogram, Gauge foundry_requests = Counter( "foundry_api_requests_total", "Total Foundry API requests", ["method", "endpoint", "status"], ) foundry_late...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

palantir-ci-integration

Configure CI/CD pipelines for Palantir Foundry integrations with GitHub Actions. Use when setting up automated testing, running transforms validation, or integrating Foundry SDK tests into your build process. Trigger with phrases like "palantir CI", "foundry GitHub Actions", "palantir automated tests", "CI foundry".

2,266 Updated today
jeremylongshore
AI & Automation Featured

palantir-prod-checklist

Execute Palantir Foundry production deployment checklist and rollback procedures. Use when deploying Foundry integrations to production, preparing for launch, or implementing go-live procedures. Trigger with phrases like "palantir production", "deploy foundry", "palantir go-live", "foundry launch checklist".

2,266 Updated today
jeremylongshore
AI & Automation Featured

palantir-deploy-integration

Deploy Palantir Foundry integrations to cloud platforms with secrets management. Use when deploying Foundry-powered applications to production, configuring platform-specific secrets, or setting up deployment pipelines. Trigger with phrases like "deploy palantir", "foundry deploy", "palantir production deploy", "foundry Cloud Run".

2,266 Updated today
jeremylongshore
AI & Automation Featured

palantir-reference-architecture

Implement Palantir Foundry reference architecture with best-practice project layout. Use when designing new Foundry integrations, planning data pipeline architecture, or establishing patterns for Ontology-driven applications. Trigger with phrases like "palantir architecture", "foundry best practices", "foundry project structure", "how to organize palantir".

2,266 Updated today
jeremylongshore
AI & Automation Featured

palantir-migration-deep-dive

Execute major Palantir Foundry migration strategies including data migration, API version upgrades, and platform transitions. Use when migrating data into Foundry, upgrading between API versions, or re-platforming existing integrations. Trigger with phrases like "migrate to palantir", "foundry migration", "palantir data migration", "foundry replatform".

2,266 Updated today
jeremylongshore