Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Prevent API v1 metric export loss and automate collector deployment

Đã đóng
#3,860 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
38/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github-actions, google-cloud, python

Hướng nghiên cứu

Start by locating the API v1 Python process setup and the authenticated collector configuration and deployment workflow. Review the existing Google Monitoring location, instance identifiers, and deployment verification approach before making changes. Done means the stated acceptance criteria pass: trace and metric RPCs succeed, logs RPC is unavailable, Cloud Run is ready, and post-deployment logs show none of the five observed rejection forms.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Problem

The central OpenTelemetry Collector rejected 863 metric points across 46 export errors in the reviewed production interval. The failures included missing Google Monitoring location values and time-series collisions caused by processes sharing one service.instance.id. Collector configuration changes also lack a maintained deployment and verification workflow.

Proposed change

  • Add the configured Google Monitoring location to metrics only.
  • Give every API v1 Python process a stable unique instance identifier.
  • Add a manually dispatched workflow that validates, builds, deploys, and verifies the authenticated collector.
  • Tag collector images with the source commit.
  • Verify trace and metric RPCs succeed and the logs RPC is unavailable.
  • Document deployment inputs, IAM requirements, and post-deployment metric verification.

Acceptance criteria

  • Trace resources retain the workload's actual cloud.region.
  • Metrics include the collector's configured location.
  • The workflow fails clearly for missing or malformed deployment configuration.
  • The deployed Cloud Run service must become ready before endpoint verification.
  • Post-deployment logs show no recurrence of the five observed metric rejection forms.
Ngôn ngữ chính
Python
Star
18
Fork
33
Merge trung bình
2 ngày 21 giờ
Pull request đã merge (30 ngày)
24

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của PolicyEngine/policyengine-api

Tất cả issue của PolicyEngine/policyengine-api

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.