mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
# Backport This will backport the following commits from `main` to `8.x`: - [[Usage counters] Use `refresh=false` (#195619)](https://github.com/elastic/kibana/pull/195619) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Alejandro Fernández Haro","email":"alejandro.haro@elastic.co"},"sourceCommit":{"committedDate":"2024-10-10T07:15:46Z","message":"[Usage counters] Use `refresh=false` (#195619)","sha":"8ebd79326634417c1d4f469747ca6c2ddb3f5999","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","performance","technical debt","release_note:skip","v9.0.0","backport:prev-minor"],"title":"[Usage counters] Use `refresh=false`","number":195619,"url":"https://github.com/elastic/kibana/pull/195619","mergeCommit":{"message":"[Usage counters] Use `refresh=false` (#195619)","sha":"8ebd79326634417c1d4f469747ca6c2ddb3f5999"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/195619","number":195619,"mergeCommit":{"message":"[Usage counters] Use `refresh=false` (#195619)","sha":"8ebd79326634417c1d4f469747ca6c2ddb3f5999"}}]}] BACKPORT--> Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
This commit is contained in:
parent
14de28977e
commit
0aa261047e
3 changed files with 4 additions and 0 deletions
|
@ -80,6 +80,7 @@ describe('storeCounter', () => {
|
|||
],
|
||||
Object {
|
||||
"namespace": "default",
|
||||
"refresh": false,
|
||||
"upsertAttributes": Object {
|
||||
"counterName": "b",
|
||||
"counterType": "c",
|
||||
|
|
|
@ -122,6 +122,7 @@ export const storeCounter = async ({ metric, soRepository }: StoreCounterParams)
|
|||
counterType,
|
||||
source,
|
||||
},
|
||||
refresh: false,
|
||||
}
|
||||
);
|
||||
};
|
||||
|
|
|
@ -157,6 +157,7 @@ describe('UsageCountersService', () => {
|
|||
},
|
||||
],
|
||||
Object {
|
||||
"refresh": false,
|
||||
"upsertAttributes": Object {
|
||||
"counterName": "counterA",
|
||||
"counterType": "count",
|
||||
|
@ -175,6 +176,7 @@ describe('UsageCountersService', () => {
|
|||
},
|
||||
],
|
||||
Object {
|
||||
"refresh": false,
|
||||
"upsertAttributes": Object {
|
||||
"counterName": "counterB",
|
||||
"counterType": "count",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue