-
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
[core.metrics] remove process field #115200
Conversation
💔 Build Failed
Failed CI Steps
Test FailuresJest Tests.src/core/server/metrics.MetricsService #start invokes setInterval with the configured intervalStandard Out
Stack Trace
Jest Tests.src/core/server/metrics.MetricsService #start collects the metrics at every intervalStandard Out
Stack Trace
Jest Tests.src/core/server/metrics.MetricsService #start resets the collector after each collectionStandard Out
Stack Trace
and 8 more failures, only showing the first 3. Metrics [docs]Page load bundle
To update your PR or re-run it, just comment with: |
@Bamieh I'm checking this out as part of #113149 I can see the new
Is there a flag I can use to spawn multiple process for better exploratory testing? |
@matschaffer Sorry the message was lost in between kibanamachine messages. Currently, we do not have more than 1 process. This is a preparatory work for enabling multi-processes in kibana. So I think your best option is to fake the response to have multiple ones for now |
Sweet. That lines up with what I'm working on in #117615 |
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.
Let's not do this and do #119560 instead.
Remove deprecated
process
field in favor of theprocesses
field. This change is needed for the future when we start supporting multi-process Kibana instances.For now metrics reporting the
process
field simply unwrap the first process in the array. In the future once we have multi-processes in Kibana we'll add more sophisticated logic to unwrap those values.Related work: #113149
Closes #104124