feat: Support Website metrics in LogicMonitor [PC-14860] #1723
Annotations
2 errors and 1 warning
Run release-drafter/release-drafter@v6
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '12259173377',
status: 422,
response: {
url: 'https://api.github.com/repos/nobl9/nobl9-go/releases',
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: 'Tue, 10 Dec 2024 15:18:20 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; contents=write,workflows=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': 'FFC7:2EF99A:392DAC4:3A36A36:67585BBB',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4899',
'x-ratelimit-reset': '1733845230',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '101',
'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#create-a-release',
status: '422'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/nobl9/nobl9-go/releases',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.18.0 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: `{"target_commitish":"refs/pull/593/merge","name":"v0.92.2","tag_name":"v0.92.2","body":"# What's Changed\\n\\n* No changes\\n","draft":true,"prerelease":false,"make_latest":"true"}`,
request: {}
},
event: {
id: '12259173377',
name: 'pull_request',
payload: {
action: 'edited',
changes: {
body: {
from: '## Motivation\r\n' +
'\r\n' +
'Support Website metrics in LogicMonitor\r\n' +
'\r\n' +
'## Summary\r\n' +
'\r\n' +
'This PR extends LogicMonitor metric spec with new fields and a new value for `queryType = website_metrics`. \r\n' +
'Depending on `queryType`, different fields are required. For `queryType`:\r\n' +
'- `device_metrics` - required fields: `deviceDataSourceInstanceId`, `graphId` and `line`\r\n' +
'- `website_metrics` - required fields: `websiteId`, `checkpointId`, `graphName` and `line`\r\n' +
'Changes are backward compatible.\r\n' +
'\r\n' +
'Example:\r\n' +
'```\r\n' +
'logicMonitor:\r\n' +
' queryType: website_metrics\r\n' +
' line: MIN RTT\r\n' +
' websiteId: "1"\r\n' +
' checkpointId: "1044712023"\r\n' +
' graphName: "responseTime"\r\n' +
'```\r\n' +
'\r\n' +
'This PR also changes the type of existing parameters. Since now `deviceDataSourceInstanceId` and `graphId` are type `string`\r\n' +
'\r\n' +
'## Release Notes\r\n' +
'\r\n' +
'- Support Website metrics in LogicMonitor\r\
|
Run release-drafter/release-drafter@v6
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: '12259173377',
name: 'pull_request',
payload: {
action: 'edited',
changes: {
body: {
from: '## Motivation\r\n' +
'\r\n' +
'Support Website metrics in LogicMonitor\r\n' +
'\r\n' +
'## Summary\r\n' +
'\r\n' +
'This PR extends LogicMonitor metric spec with new fields and a new value for `queryType = website_metrics`. \r\n' +
'Depending on `queryType`, different fields are required. For `queryType`:\r\n' +
'- `device_metrics` - required fields: `deviceDataSourceInstanceId`, `graphId` and `line`\r\n' +
'- `website_metrics` - required fields: `websiteId`, `checkpointId`, `graphName` and `line`\r\n' +
'Changes are backward compatible.\r\n' +
'\r\n' +
'Example:\r\n' +
'```\r\n' +
'logicMonitor:\r\n' +
' queryType: website_metrics\r\n' +
' line: MIN RTT\r\n' +
' websiteId: "1"\r\n' +
' checkpointId: "1044712023"\r\n' +
' graphName: "responseTime"\r\n' +
'```\r\n' +
'\r\n' +
'This PR also changes the type of existing parameters. Since now `deviceDataSourceInstanceId` and `graphId` are type `string`\r\n' +
'\r\n' +
'## Release Notes\r\n' +
'\r\n' +
'- Support Website metrics in LogicMonitor\r\n' +
'- Changes the type of LogicMonitor parameters:`deviceDataSourceInstanceId` and `graphId` to `string`\r\n'
}
},
number: 593,
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/593/comments'
},
commits: {
href: 'https://api.github.com/repos/nobl9/nobl9-go/pulls/593/commits'
},
html: { href: 'https://github.com/nobl9/nobl9-go/pull/593' },
issue: {
href: 'https://api.github.com/repos/nobl9/nobl9-go/issues/593'
},
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/593/comments'
},
self: {
href: 'https://api.github.com/repos/nobl9/nobl9-go/pulls/593'
},
statuses: {
href: 'https://api.github.com/repos/nobl9/nobl9-go/statuses/ec9b686140a9a568c56062db91bc5ad33adcd4e8'
}
},
active_lock_reason: null,
additions: 225,
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_com
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading