Skip to content

Improve log integration for elasticearch#990

Merged
othercorey merged 4 commits into5.xfrom
fix-989
Jan 25, 2024
Merged

Improve log integration for elasticearch#990
othercorey merged 4 commits into5.xfrom
fix-989

Conversation

@markstory
Copy link
Member

Not all queries have 'took'. Account for that and use defaults values.

Fixes #989

Not all queries have 'took'. Account for that and use defaults values. Fixes #989
@markstory markstory added this to the 5.x milestone Jan 25, 2024
'data' => $context['request']['data'],
], JSON_PRETTY_PRINT),
'took' => $context['response']['took'] ?: 0,
'took' => 0,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
'took' => 0,
'took' => $ook,

This should still be set, right?

@othercorey othercorey merged commit 03a655e into 5.x Jan 25, 2024
@othercorey othercorey deleted the fix-989 branch January 25, 2024 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants