install-firetiger
9
总安装量
8
周安装量
#33385
全站排名
安装命令
npx skills add https://github.com/firetiger-oss/skills --skill install-firetiger
Agent 安装分布
claude-code
7
codex
5
cursor
4
windsurf
3
opencode
3
antigravity
3
Skill 文档
Install Firetiger Instrumentation
Prerequisites
Requires Firetiger MCP server. If get_ingest_credentials fails, prompt user:
set_firetiger_deployment <cloud> <deployment>
Workflow
Step 1: Detect Project Type
Check for project files in priority order:
| File | Language | Template Directory |
|---|---|---|
package.json |
Node.js/TS | assets/nodejs/ |
pyproject.toml |
Python | assets/python/ |
requirements.txt |
Python | assets/python/ |
go.mod |
Go | assets/go/ |
Cargo.toml |
Rust | assets/rust/ |
- Multiple matches â ask user which to instrument
- No matches â ask user for project type
Step 2: Derive Service Name
Extract automatically, confirm with user:
- Node.js:
namefrompackage.json - Python:
namefrompyproject.toml, else directory name - Go: last segment of module path in
go.mod - Rust:
namefromCargo.toml
Step 3: Fetch Credentials
Call get_ingest_credentials MCP tool. Extract:
Ingest URLâ{{INGEST_URL}}Authorization: Basic ...value â{{AUTH_HEADER}}
Step 4: Install Dependencies & Create Files
Read the appropriate template from assets/<language>/. Each template directory contains:
instrumentation.*– Main instrumentation filedependencies.md– Install commands
Replace placeholders: {{INGEST_URL}}, {{AUTH_HEADER}}, {{SERVICE_NAME}}
Step 5: Wire Entry Point
Guide user to import instrumentation at the top of their entry file (before other imports).
Step 6: Verify
Provide env vars for production:
export OTEL_EXPORTER_OTLP_ENDPOINT="{{INGEST_URL}}"
export OTEL_EXPORTER_OTLP_HEADERS="Authorization=Basic {{AUTH_HEADER}}"
export OTEL_SERVICE_NAME="{{SERVICE_NAME}}"
Suggest triggering a request and checking Firetiger UI.
References
references/troubleshooting.md– Common issues and fixesreferences/manual-instrumentation.md– Adding custom spansreferences/signals.md– When to use traces vs metrics vs logs