-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fix/main-branch
- Loading branch information
Showing
92 changed files
with
519 additions
and
1,538 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# Configuration for probot-stale - https://github.com/probot/stale | ||
|
||
# Number of days of inactivity before an Issue or Pull Request becomes stale | ||
daysUntilStale: 180 | ||
|
||
# Number of days of inactivity before an Issue or Pull Request with the stale label is closed. | ||
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale. | ||
daysUntilClose: false | ||
|
||
# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled) | ||
onlyLabels: ["Team:apm"] | ||
|
||
# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable | ||
exemptLabels: ["technical debt", "prevent stale"] | ||
|
||
# Set to true to ignore issues in a project (defaults to false) | ||
exemptProjects: false | ||
|
||
# Set to true to ignore issues in a milestone (defaults to false) | ||
exemptMilestones: false | ||
|
||
# Set to true to ignore issues with an assignee (defaults to false) | ||
exemptAssignees: false | ||
|
||
# Label to use when marking as stale | ||
staleLabel: stale | ||
|
||
# Comment to post when marking as stale. Set to `false` to disable | ||
markComment: > | ||
This issue has been automatically marked as stale because it has not had | ||
recent activity. It will be closed if no further activity occurs. Thank you | ||
for your contributions. | ||
# Comment to post when removing the stale label. | ||
# unmarkComment: > | ||
# Your comment here. | ||
|
||
# Comment to post when closing a stale Issue or Pull Request. | ||
# closeComment: > | ||
# Your comment here. | ||
|
||
# Limit the number of actions per hour, from 1-30. Default is 30 | ||
limitPerRun: 30 | ||
|
||
# Limit to only `issues` or `pulls` | ||
only: issues | ||
|
||
# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls': | ||
# pulls: | ||
# daysUntilStale: 30 | ||
# markComment: > | ||
# This pull request has been automatically marked as stale because it has not had | ||
# recent activity. It will be closed if no further activity occurs. Thank you | ||
# for your contributions. | ||
|
||
# issues: | ||
# exemptLabels: | ||
# - confirmed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
docs/development/core/public/kibana-plugin-core-public.doclinksstart.md
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 7 additions & 27 deletions
34
src/plugins/presentation_util/public/components/solution_toolbar/items/quick_group.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,11 @@ | ||
.quickButtonGroup { | ||
.euiButtonGroup__buttons { | ||
border-radius: $euiBorderRadius; | ||
|
||
.quickButtonGroup__button { | ||
background-color: $euiColorEmptyShade; | ||
@include kbnThemeStyle('v8') { | ||
// sass-lint:disable-block no-important | ||
border-width: $euiBorderWidthThin !important; | ||
border-style: solid !important; | ||
border-color: $euiBorderColor !important; | ||
} | ||
} | ||
|
||
.quickButtonGroup__button:first-of-type { | ||
@include kbnThemeStyle('v8') { | ||
// sass-lint:disable-block no-important | ||
border-top-left-radius: $euiBorderRadius !important; | ||
border-bottom-left-radius: $euiBorderRadius !important; | ||
} | ||
} | ||
|
||
.quickButtonGroup__button:last-of-type { | ||
@include kbnThemeStyle('v8') { | ||
// sass-lint:disable-block no-important | ||
border-top-right-radius: $euiBorderRadius !important; | ||
border-bottom-right-radius: $euiBorderRadius !important; | ||
} | ||
.quickButtonGroup__button { | ||
background-color: $euiColorEmptyShade; | ||
@include kbnThemeStyle('v8') { | ||
// sass-lint:disable-block no-important | ||
border-width: $euiBorderWidthThin !important; | ||
border-style: solid !important; | ||
border-color: $euiBorderColor !important; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
80 changes: 80 additions & 0 deletions
80
x-pack/plugins/apm/ftr_e2e/cypress/integration/read_only_user/dependencies.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0; you may not use this file except in compliance with the Elastic License | ||
* 2.0. | ||
*/ | ||
|
||
const timeRange = { | ||
rangeFrom: Cypress.env('START_DATE'), | ||
rangeTo: Cypress.env('END_DATE'), | ||
}; | ||
|
||
describe('Dependencies', () => { | ||
beforeEach(() => { | ||
cy.loginAsReadOnlyUser(); | ||
}); | ||
|
||
describe('top-level dependencies page', () => { | ||
it('has a list of dependencies and you can navigate to the page for one', () => { | ||
cy.visit(`/app/apm/services?${new URLSearchParams(timeRange)}`); | ||
cy.contains('nav a', 'Dependencies').click(); | ||
|
||
// `force: true` because Cypress says the element is 0x0 | ||
cy.contains('postgresql').click({ force: true }); | ||
|
||
cy.contains('h1', 'postgresql'); | ||
}); | ||
}); | ||
|
||
describe('dependency overview page', () => { | ||
it('shows dependency information and you can navigate to a page for an upstream service', () => { | ||
cy.visit( | ||
`/app/apm/backends/overview?${new URLSearchParams({ | ||
...timeRange, | ||
backendName: 'postgresql', | ||
})}` | ||
); | ||
|
||
cy.get('[data-test-subj="latencyChart"]'); | ||
cy.get('[data-test-subj="throughputChart"]'); | ||
cy.get('[data-test-subj="errorRateChart"]'); | ||
|
||
cy.contains('opbeans-python').click({ force: true }); | ||
|
||
cy.contains('h1', 'opbeans-python'); | ||
}); | ||
}); | ||
|
||
describe('service overview page', () => { | ||
it('shows dependency information and you can navigate to a page for a dependency', () => { | ||
cy.visit( | ||
`/app/apm/services/opbeans-python/overview?${new URLSearchParams( | ||
timeRange | ||
)}` | ||
); | ||
|
||
cy.contains('postgresql').click({ force: true }); | ||
|
||
cy.contains('h1', 'postgresql'); | ||
}); | ||
}); | ||
|
||
describe('service dependencies tab', () => { | ||
it('shows dependency information and you can navigate to a page for a dependency', () => { | ||
cy.visit( | ||
`/app/apm/services/opbeans-python/overview?${new URLSearchParams( | ||
timeRange | ||
)}` | ||
); | ||
|
||
cy.contains('a[role="tab"]', 'Dependencies').click(); | ||
|
||
cy.contains('Time spent by dependency'); | ||
|
||
cy.contains('postgresql').click({ force: true }); | ||
|
||
cy.contains('h1', 'postgresql'); | ||
}); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.