jira-webhook-llm/README.md
2025-07-13 20:14:09 +02:00

53 lines
1.2 KiB
Markdown

# Jira Webhook LLM
## Langfuse Integration
### Overview
The application integrates with Langfuse for observability and analytics of LLM usage and webhook events. This integration provides detailed tracking of:
- Webhook events
- LLM model usage
- Error tracking
- Performance metrics
### Configuration
Langfuse configuration is managed through both `application.yml` and environment variables.
#### application.yml
```yaml
langfuse:
enabled: true
public_key: "pk-lf-..."
secret_key: "sk-lf-..."
host: "https://cloud.langfuse.com"
```
#### Environment Variables
```bash
LANGFUSE_ENABLED=true
LANGFUSE_PUBLIC_KEY="pk-lf-..."
LANGFUSE_SECRET_KEY="sk-lf-..."
LANGFUSE_HOST="https://cloud.langfuse.com"
```
### Enable/Disable
To disable Langfuse integration:
1. Set `langfuse.enabled: false` in `application.yml`
2. Or set `LANGFUSE_ENABLED=false` in your environment
### Tracking Details
The following events are tracked:
1. Webhook events
- Input payload
- Timestamps
- Issue metadata
2. LLM processing
- Model used
- Input/output
- Processing time
3. Errors
- Webhook processing errors
- LLM processing errors
- Validation errors
### Viewing Data
Visit your Langfuse dashboard to view the collected metrics and traces.