-
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
[Ingest UI] Add Nginx Metrics to Detail Pages #23924
[Ingest UI] Add Nginx Metrics to Detail Pages #23924
Conversation
💔 Build Failed |
💔 Build Failed |
} | ||
|
||
export interface InfraMetricModel { | ||
id: string; | ||
requires: string[]; | ||
index_pattern: string; | ||
index_pattern: string | string[]; |
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.
Can you explain what these changes do and why they were necessary?
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.
The index
argument for the Elasticsearch client can be both a string or an array of strings. Originally it only worked with one index pattern but I realized that there are times we need to do 2.
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 and works as described, just one question in the comments for me to understand better what you're doing.
This PR adds Nginx metrics to the detail pages. There will be a follow up PR that will add and hide the Nginx sections to the nodes that have those capabilities. For now it will show up on all the pages with empty data.