Skip to content

feat: PC-13028 Support Azure Monitor managed service for Prometheus in Direct #846

feat: PC-13028 Support Azure Monitor managed service for Prometheus in Direct

feat: PC-13028 Support Azure Monitor managed service for Prometheus in Direct #846

Triggered via pull request June 19, 2024 12:46
Status Success
Total duration 17s
Artifacts

release-drafter.yml

on: pull_request
update_release_draft
9s
update_release_draft
Fit to window
Zoom out
Zoom in

Annotations

2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} { name: 'HttpError', id: '9582254641', status: 422, response: { url: 'https://api.github.com/repos/nobl9/nobl9-go/releases/158419054', status: 422, headers: { 'access-control-allow-origin': '*', 'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset', connection: 'close', 'content-length': '210', 'content-security-policy': "default-src 'none'", 'content-type': 'application/json; charset=utf-8', date: 'Wed, 19 Jun 2024 12:46:48 GMT', 'github-authentication-token-expiration': '2025-01-16 00:00:00 +0100', 'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin', server: 'GitHub.com', 'strict-transport-security': 'max-age=31536000; includeSubdomains; preload', vary: 'Accept-Encoding, Accept, X-Requested-With', 'x-accepted-github-permissions': 'contents=write', 'x-content-type-options': 'nosniff', 'x-frame-options': 'deny', 'x-github-api-version-selected': '2022-11-28', 'x-github-media-type': 'github.v3; format=json', 'x-github-request-id': '04C0:3F7E5:15CEAD3:28CE599:6672D337', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4944', 'x-ratelimit-reset': '1718801552', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '56', 'x-xss-protection': '0' }, data: { message: 'Validation Failed', errors: [ { resource: 'Release', code: 'invalid', field: 'target_commitish' } ], documentation_url: 'https://docs.github.com/rest/releases/releases#update-a-release', status: '422' } }, request: { method: 'PATCH', url: 'https://api.github.com/repos/nobl9/nobl9-go/releases/158419054', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.13.1 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: `{"body":"# What's Changed\\n\\n## 🚀 Features\\n\\n- feat: PC-13027 PC-13029 Add Azure Monitor managed service for Prometh… (#437) @dawidwisn\\n\\n## 🐞 Bug Fixes\\n\\n- fix: composite slo name and displayName validation [PC-12850] (#445) @nikodemrafalski\\n\\n## 🧰 Maintenance\\n\\n<details>\\n<summary>25 changes</summary>\\n\\n- chore: Update dependency cspell to v8.9.0 (#466) @renovate\\n- chore: Change objects print to encode (#463) @nieomylnieja\\n- chore: Update module github.com/aws/aws-sdk-go to v1.54.3 (#464) @renovate\\n- chore: Move object-impl generator to cmd (#462) @nieomylnieja\\n- chore: Update module github.com/aws/aws-sdk-go to v1.54.2 (#461) @renovate\\n- chore: Update module github.com/aws/aws-sdk-go to v1.54.1 (#460) @renovate\\n- chore: Update module github.com/aws/aws-sdk-go to v1.54.0 (#459) @renovate\\n- chore: Update module github.com/aws/aws-sdk-go to v1.53.21 (#457) @renovate\\n- chore: Add no config file (#456) @nieomylnieja\\n- chore: Add end-to-end Project and Service tests (#454) @nieomylnieja\\n- chore: Update module github.com/aws/aws-sdk-go to v1.53.20 (#455) @renovate\\n- chore: Update dependency golangci/golangci-lint to v1.59.1 (#453) @renovate\\n- chore: Update dependency yaml to v2.4.5 (#452) @renovate\\n- chore: Update dependency yaml to v2.4.4 (#451) @renovate\\n- chore: Update module github.com/aws/aws-sdk-go to v1.53.19 (#450) @renovate\\n- chore: Update module golang.org/x/vuln/cmd/govulncheck to v1.1.2 (#447) @renovate\\n- chore: Update module github.com/aws/aws-sdk-go to v1.53.18 (#446) @renovate\\n- chore: Update module github.com/aws/aws-sdk-go to v1.53.17 (#444) @renovate\\n- chore: Update modules (#440) @nieomylnieja\\n- c
update_release_draft
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} at /home/runner/work/_actions/release-drafter/release-drafter/v6/dist/index.js:8462:21 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v6/dist/index.js:30793:18) { name: 'AggregateError', event: { id: '9582254641', name: 'pull_request', payload: { action: 'edited', changes: { body: { from: '## Motivation\r\n' + '\r\n' + 'Support new integration with Azure Monitor managed service for Prometheus in Direct mode\r\n' + '\r\n' + '## Summary\r\n' + '\r\n' + 'New fields in Direct spec:\r\n' + '```\r\n' + ' spec:\r\n' + ' azurePrometheus: \r\n' + ' url: ""\r\n' + ' tenantId: ""\r\n' + ' clientId: ""\r\n' + ' clientSecret: ""\r\n' + '```\r\n' + '- azurePrometheus - name of the new integration\r\n' + '- url - is the Endpoint - query URL in Azure Prometheus ([How to find the Prometheus URL?](https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/prometheus-api-promql#query-endpoint))\r\n' + '- tenentId - Azure [tenent ID](https://learn.microsoft.com/en-us/azure/azure-portal/get-subscription-tenant-id#find-your-azure-ad-tenant)\r\n' + '- clientId and clientSecret - [Azure client credentials](https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/prometheus-api-promql#authentication)\r\n' + '\r\n' + '## Release Notes\r\n' + '\r\n' + 'Added Azure Monitor managed service for Prometheus Agent, and Metric Spec extending both v1alpha.Direct.Spec\r\n' } }, number: 449, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/58781264?v=4', description: '', events_url: 'https://api.github.com/orgs/nobl9/events', hooks_url: 'https://api.github.com/orgs/nobl9/hooks', id: 58781264, issues_url: 'https://api.github.com/orgs/nobl9/issues', login: 'nobl9', members_url: 'https://api.github.com/orgs/nobl9/members{/member}', node_id: 'MDEyOk9yZ2FuaXphdGlvbjU4NzgxMjY0', public_members_url: 'https://api.github.com/orgs/nobl9/public_members{/member}', repos_url: 'https://api.github.com/orgs/nobl9/repos', url: 'https://api.github.com/orgs/nobl9' }, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/nobl9/nobl9-go/issues/449/comments' }, commits: { href: 'https://api.github.com/repos/nobl9/nobl9-go/pulls/449/commits' }, html: { href: 'https://github.com/nobl9/nobl9-go/pull/449' }, issue: { href: 'https://api.github.com/repos/nobl9/nobl9-go/issues/449' }, review_comment: { href: 'https://api.github.com/repos/nobl9/nobl9-go/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/nobl9/nobl9-go/pulls/449/comments' }, self: { href: 'https://api.github.com/repos/nobl9/nobl9-go/pulls/449' }, statuses: { href: 'https://api.github.com/repos/nobl9/nobl9-go/statuses/988294ebc2edf7d702b02c0809b07d757119342f' } }, active_lock_reason: null, additions: 113, assignee: null, assignees: [], author_association: 'CONTRIBUTOR', auto_merge: null, base: { label: 'nobl9:main', ref: 'main', repo: { allow_auto_merge: true, allow_forking: true, allow_merge_commit: false, allow_rebase_merge: false, allow_squash_merge: true,