OpenAgent Release Notes
최신 버전: 1.8.9
2026-09-30
v1.8.9
Changed Prometheus text 응답에 HELP가 없어도 메트릭 이름과 TYPE 메타데이터 수집
- HELP와 TYPE의 선언 순서와 관계없이 메타데이터 병합
- TYPE도 없는 유효한 샘플은 untyped로 등록
- 기존 메트릭 값, 라벨, 타임스탬프, relabel 동작은 그대로 유지
2026-07-30
v1.8.6
Fixed 스크랩 타깃 params 설정 시 쿼리 파라미터 값이 중복 적용되던 문제 수정
- params를 사용하는 모든 타깃 타입(StaticEndpoints/ServiceMonitor/PodMonitor)에 적용
2026-07-09
v1.8.5
New 스크랩 타깃 Authorization(Bearer) 헤더 인증 추가
- Prometheus 스크랩 대상에 Authorization 헤더 인증 기능 추가,
scrape_config.yaml의 엔드포인트에authorization블록으로 설정 - 스킴 지정(
type) 기본값Bearer, 임의 스킴 지정 가능(예:Token,ApiKey) - 자격증명 소스 4종 지원(우선순위: 인라인 → 환경변수 → 파일 → Secret, 첫 유효값 사용):
credentials,credentialsEnv,credentialsFile,credentialsSecret - 인증 우선순위: Authorization → Basic Auth → K8s ServiceAccount 토큰,
authorization설정 시 ServiceAccount 토큰 폴백 억제 - Basic Auth에 파일 기반 소스(
usernameFile,passwordFile) 추가 - 사용 예제
# 1) 인라인
authorization:
type: Bearer # 생략 시 기본 Bearer
credentials: "my-secret-token"
# 2) 환경변수 ($OPENAGENT_SCRAPE_TOKEN 값 사용)
authorization:
type: Bearer
credentialsEnv: OPENAGENT_SCRAPE_TOKEN
# 3) 파일 (회전 토큰 대응)
authorization:
type: Bearer
credentialsFile: "secret/scrape_token"
# 4) K8s Secret
authorization:
type: Bearer
credentialsSecret:
name: my-secret
key: token
# 5) 커스텀 스킴 (예: ApiKey) → "Authorization: ApiKey abc123"
authorization:
type: ApiKey
credentials: "abc123" - 전체 엔드포인트 설정 예
features:
openAgent:
enabled: true
targets:
- targetName: token-exporter
type: StaticEndpoints
enabled: true
endpoints:
- address: "localhost:9530"
path: "/metrics"
scheme: "http"
interval: "30s"
authorization:
type: Bearer
credentialsFile: "secret/scrape_token"