-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[APM] Initial diagnostics tool #157500
[APM] Initial diagnostics tool #157500
Conversation
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
/oblt-deploy |
x-pack/plugins/apm/common/diagnostics/get_default_index_template_names.ts
Outdated
Show resolved
Hide resolved
86db339
to
094ce32
Compare
8f61c23
to
a5b9f16
Compare
00e900f
to
de6a4cf
Compare
x-pack/plugins/apm/server/lib/helpers/create_es_client/create_apm_event_client/index.ts
Outdated
Show resolved
Hide resolved
x-pack/plugins/apm/server/lib/helpers/create_es_client/create_apm_event_client/index.ts
Outdated
Show resolved
Hide resolved
x-pack/plugins/apm/server/lib/helpers/create_es_client/create_apm_event_client/index.ts
Outdated
Show resolved
Hide resolved
...gins/apm/server/routes/diagnostics/index_templates/get_default_apm_index_templates_states.ts
Outdated
Show resolved
Hide resolved
a9d5224
to
139474e
Compare
import { FETCH_STATUS } from '../../../hooks/use_fetcher'; | ||
import { useDiagnosticsContext } from './context/use_diagnostics'; | ||
|
||
type DiagnosticsBundle = APIReturnType<'GET /internal/apm/diagnostics'>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be useful just to export this type under app/diagnostics
folder? I've seen this line in multiple files
x-pack/plugins/apm/public/components/app/diagnostics/summary_tab/data_streams_status.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How can I execute this diagnostics bundle?
Could we add an example in our dev_docs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just some minor stuff 🎩
/oblt-deploy |
1 similar comment
/oblt-deploy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
More stuff
Co-authored-by: Yngrid Coello <yngrdyn@gmail.com>
8a565d7
to
101f4aa
Compare
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
Public APIs missing exports
Unknown metric groupsESLint disabled in files
ESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: |
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
Pitch: elastic/apm-dev#872 (_internal_) Introduces the Diagnostics tool under a hidden page: `/app/apm/diagnostics`. The Diagnostics tool can help find problems with missing index templates, data streams with incorrect index templates and indices with incorrect mappings. It will be released in 8.9 but customers can take advantage of it as soon as this PR is merged. They can export a diagnostics bundle from their system by running this script: ``` node x-pack/plugins/apm/scripts/diagnostics_bundle \ --kbHost https://foo.kb.europe-west2.gcp.elastic-cloud.com:9243 \ --esHost https://foo.es.europe-west2.gcp.elastic-cloud.com:9243 \ --username elastic --password changeme ```    --------- Co-authored-by: Yngrid Coello <yngrdyn@gmail.com> (cherry picked from commit 8f6469a)
Pitch: elastic/apm-dev#872 (_internal_) Introduces the Diagnostics tool under a hidden page: `/app/apm/diagnostics`. The Diagnostics tool can help find problems with missing index templates, data streams with incorrect index templates and indices with incorrect mappings. It will be released in 8.9 but customers can take advantage of it as soon as this PR is merged. They can export a diagnostics bundle from their system by running this script: ``` node x-pack/plugins/apm/scripts/diagnostics_bundle \ --kbHost https://foo.kb.europe-west2.gcp.elastic-cloud.com:9243 \ --esHost https://foo.es.europe-west2.gcp.elastic-cloud.com:9243 \ --username elastic --password changeme ```    --------- Co-authored-by: Yngrid Coello <yngrdyn@gmail.com> (cherry picked from commit 8f6469a)
Pitch: https://github.com/elastic/apm-dev/issues/872 (internal)
Introduces the Diagnostics tool under a hidden page:
/app/apm/diagnostics
. The Diagnostics tool can help find problems with missing index templates, data streams with incorrect index templates and indices with incorrect mappings.It will be released in 8.9 but customers can take advantage of it as soon as this PR is merged. They can export a diagnostics bundle from their system by running this script: