new_relic-automation
Skill này làm gì
Công cụ này giúp tự động hóa các tác vụ trong New Relic, như giám sát hiệu năng ứng dụng, thiết lập cảnh báo và tạo bảng điều khiển. Công cụ dùng hệ thống Rube MCP để kết nối và thực hiện các thao tác này.
Khi nào nên dùng
- ✓Khi bạn cần tạo một bảng điều khiển mới trong New Relic.
- ✓Khi bạn muốn thiết lập cảnh báo cho hiệu năng ứng dụng của mình.
- ✓Khi bạn muốn lấy dữ liệu cụ thể về mức sử dụng hạ tầng của mình.
Liên kết skill
https://github.com/ComposioHQ/awesome-claude-skills/blob/master/composio-skills/new_relic-automation/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Thiết lập một cảnh báo trong New Relic khi thời gian phản hồi của ứng dụng vượt quá 500ms.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Trước tiên, công cụ tìm các chức năng có sẵn trong New Relic. Sau đó, công cụ dùng các chức năng này để thực hiện tác vụ bạn yêu cầu, như tạo cảnh báo hoặc lấy dữ liệu.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
New Relic Automation via Rube MCP
Automate New Relic operations through Composio's New Relic toolkit via Rube MCP.
Toolkit docs: composio.dev/toolkits/new_relic
Prerequisites
- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
- Active New Relic connection via
RUBE_MANAGE_CONNECTIONSwith toolkitnew_relic - Always call
RUBE_SEARCH_TOOLSfirst to get current tool schemas
Setup
Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
- Verify Rube MCP is available by confirming
RUBE_SEARCH_TOOLSresponds - Call
RUBE_MANAGE_CONNECTIONSwith toolkitnew_relic - If connection is not ACTIVE, follow the returned auth link to complete setup
- Confirm connection status shows ACTIVE before running any workflows
Tool Discovery
Always discover available tools before executing workflows:
RUBE_SEARCH_TOOLS: queries=[{"use_case": "APM, alerts, dashboards, NRQL queries, and infrastructure monitoring", "known_fields": ""}]
This returns:
- Available tool slugs for New Relic
- Recommended execution plan steps
- Known pitfalls and edge cases
- Input schemas for each tool
Core Workflows
1. Discover Available New Relic Tools
RUBE_SEARCH_TOOLS:
queries:
- use_case: "list all available New Relic tools and capabilities"
Review the returned tools, their descriptions, and input schemas before proceeding.
2. Execute New Relic Operations
After discovering tools, execute them via:
RUBE_MULTI_EXECUTE_TOOL:
tools:
- tool_slug: "<discovered_tool_slug>"
arguments: {<schema-compliant arguments>}
memory: {}
sync_response_to_workbench: false
3. Multi-Step Workflows
For complex workflows involving multiple New Relic operations:
- Search for all relevant tools:
RUBE_SEARCH_TOOLSwith specific use case - Execute prerequisite steps first (e.g., fetch before update)
- Pass data between steps using tool responses
- Use
RUBE_REMOTE_WORKBENCHfor bulk operations or data processing
Common Patterns
Search Before Action
Always search for existing resources before creating new ones to avoid duplicates.
Pagination
Many list operations support pagination. Check responses for next_cursor or page_token and continue fetching until exhausted.
Error Handling
- Check tool responses for errors before proceeding
- If a tool fails, verify the connection is still ACTIVE
- Re-authenticate via
RUBE_MANAGE_CONNECTIONSif connection expired
Batch Operations
For bulk operations, use RUBE_REMOTE_WORKBENCH with run_composio_tool() in a loop with ThreadPoolExecutor for parallel execution.
Known Pitfalls
- Always search tools first: Tool schemas and available operations may change. Never hardcode tool slugs without first discovering them via
RUBE_SEARCH_TOOLS. - Check connection status: Ensure the New Relic connection is ACTIVE before executing any tools. Expired OAuth tokens require re-authentication.
- Respect rate limits: If you receive rate limit errors, reduce request frequency and implement backoff.
- Validate schemas: Always pass strictly schema-compliant arguments. Use
RUBE_GET_TOOL_SCHEMASto load full input schemas whenschemaRefis returned instead ofinput_schema.
Quick Reference
| Operation | Approach |
|---|---|
| Find tools | RUBE_SEARCH_TOOLS with New Relic-specific use case |
| Connect | RUBE_MANAGE_CONNECTIONS with toolkit new_relic |
| Execute | RUBE_MULTI_EXECUTE_TOOL with discovered tool slugs |
| Bulk ops | RUBE_REMOTE_WORKBENCH with run_composio_tool() |
| Full schema | RUBE_GET_TOOL_SCHEMAS for tools with schemaRef |
Toolkit docs: composio.dev/toolkits/new_relic
Câu hỏi thường gặp
Tôi có cần tài khoản New Relic không?
Có, bạn cần tài khoản New Relic đang hoạt động và kết nối nó với công cụ.
Rube MCP là gì?
Rube MCP là hệ thống cho phép công cụ kết nối và điều khiển các ứng dụng khác, như New Relic, mà không cần khóa API phức tạp.
Tôi có thể tạo bảng điều khiển tùy chỉnh không?
Có, công cụ có thể dùng để tự động tạo bảng điều khiển trong New Relic theo nhu cầu của bạn.
Chi tiết
Mô tả gốc của tác giả
Automate New Relic tasks via Rube MCP (Composio): APM, alerts, dashboards, NRQL queries, and infrastructure monitoring. Always search tools first for current schemas.
Độ phổ biến
- Sao GitHub
- 77k
- Vị trí xếp hạng
- #2279
- Giấy phép
- —
- Cập nhật
- 18/9/2026
Bình luận
- …
Thêm skill từ kho mã này
artifacts-builder
77kGiúp agent của bạn xây dựng giao diện người dùng phức tạp. Dùng công nghệ hiện đại để tạo trang web tương tác phong phú.
brand-guidelines
77kGiúp agent của bạn áp dụng màu sắc và phông chữ thương hiệu chính thức cho tài liệu. Giữ bản sắc trực quan cho mọi nội dung cần đúng phong cách công ty.
canvas-design
77kGiúp agent của bạn tạo tác phẩm nghệ thuật gốc dạng .png và .pdf. Dùng khi cần poster, tranh nghệ thuật hoặc thiết kế tĩnh khác.
changelog-generator
77kGiúp agent của bạn tạo ghi chú phát hành dành cho người dùng từ các commit mã. Biến thông tin kỹ thuật thành văn bản dễ hiểu.
Skill tương tự
knowledge-automation
394kGiúp agent của bạn thiết lập tác vụ định kỳ đưa nội dung mới vào kho Knowledge theo lịch, rồi kiểm tra tác vụ có chạy không.
knowledge-source-ingest
394kGiúp agent của bạn cập nhật Knowledge vault với các mục mới từ kênh chat, nguồn tin hoặc hộp thư, mà không thêm lại những gì đã có.
benchmark
280kGiúp agent của bạn đo tốc độ và hiệu suất của code, hữu ích để đảm bảo mọi thứ nhanh và tìm ra những chỗ chậm.