Unify base_url config with region dropdown + manual override
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- python
- Lĩnh vực
- full-stack
Hướng nghiên cứu
Bắt đầu bằng cách xác định các điểm đầu vào cấu hình tích hợp cho các dịch vụ Analytics và APM được liệt kê, sau đó so sánh ChoiceField hiện có của Segment với các tích hợp sử dụng base_url dưới dạng văn bản tự do. Kiểm tra các preset theo khu vực và fallback thủ công dựa trên bảng kiểm tra tích hợp; công việc được xem là hoàn tất khi các tích hợp bị ảnh hưởng cung cấp các lựa chọn theo khu vực như dự kiến mà không thay đổi các tích hợp khác.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Several analytics/APM integrations require a base_url to pick the regional endpoint, but each one is configured ad-hoc — some are a free-text input (Heap after #7732, Mixpanel after #7792, Amplitude, New Relic, Datadog), one is already a dropdown (Segment via ChoiceField), and a few mix in per-tenant URLs (Grafana, Rudderstack, Dynatrace).
Unify this so that any integration whose base_url represents a data centre / region offers a dropdown of known regional presets, while always allowing the user to enter a URL manually as a fallback.
One option worth considering (not a hard requirement): drive the preset list from the integrations feature flag so regions can be added/edited via remote config without a deploy.
Integration audit
Where each integration's destination URL comes from today, and whether it has multiple regions / tenants worth surfacing as presets.
| Integration | URL model | Regions / tenants | Needs looking into? |
|---|---|---|---|
| Amplitude | base_url, default https://api2.amplitude.com |
US, EU (https://api.eu.amplitude.com) |
Yes — add EU preset |
| Datadog | base_url, required |
US1, US3, US5, EU, AP1, US1-FED | Yes — add region presets |
| Dynatrace | base_url, required |
Per-tenant URL ({env-id}.live.dynatrace.com) |
No — keep free-text |
| GitHub | OAuth / GitHub App | github.com, GitHub Enterprise Server (per-tenant) | Verify Enterprise Server is supported; otherwise no change |
| GitLab | gitlab_instance_url, default https://gitlab.com |
Per-tenant URL | No — keep free-text |
| Grafana | base_url, default https://grafana.com |
Per-tenant URL (Grafana Cloud or self-hosted) | No — keep free-text |
| Heap | base_url, default https://heapanalytics.com (after #7732) |
US, EU (https://heapanalytics.eu) |
Already in scope via #7732 — convert to preset |
| LaunchDarkly (import) | Hardcoded https://app.launchdarkly.com |
US, EU (https://app.eu.launchdarkly.com) |
Yes — currently hardcoded, no EU support |
| Mixpanel | Hardcoded https://api.mixpanel.com (base_url added in #7792) |
US, EU (api-eu.mixpanel.com), IN (api-in.mixpanel.com) |
Already in scope via #7792 — convert to preset |
| New Relic | base_url, required |
US (insights-collector.newrelic.com), EU (insights-collector.eu01.nr-data.net) |
Yes — add region presets |
| Rudderstack | base_url, required |
Per-tenant data plane URL | No — keep free-text |
| Segment | base_url, ChoiceField US / EU |
US (api.segment.io), EU (events.eu1.segmentapis.com) |
Already a dropdown — align with new schema |
| Sentry | webhook_url, required |
Per-tenant webhook URL | No — keep free-text |
| Slack | OAuth | slack.com only | No |
| Webhook | url, required |
Customer-provided URL | No — keep free-text |
- Ngôn ngữ chính
- Python
- Star
- 9.9k
- Fork
- 658
- Merge trung bình
- 1 ngày 15 giờ
- Pull request đã merge (30 ngày)
- 171
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Flagsmith/flagsmith
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Flagsmith/flagsmith#9119 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Fix Button Alignment in SDK Installation SectionCó thể đã có người làm @manueldezman đã nhận 4 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Flagsmith/flagsmith#9056 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Cloud Python warehouse snippet omits the import needed by its short-lived-job guidanceCó thể đã có người làm @jcd1991 đã nhận 5 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
Flagsmith/flagsmith#9045 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Expose whether an organisation is blocked for API usageCó thể đã có người làm @PiUnknown đã nhận 39 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Flagsmith/flagsmith#8773 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Flagsmith/flagsmith
Issue tương tự
-
documentation good first issue help wanted
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
-
documentation good first issue help wanted
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
-
documentation good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
[Suggestion]: AgentermĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
collabnix/awesome-mcp-lists#490 ·
Maintainer thường phản hồi trong vòng 2 ngày