Skip to content

Conversation

@adskyiproger
Copy link
Contributor

@adskyiproger adskyiproger commented Sep 24, 2025

Description

Related issue: opencrvs/opencrvs-core#10515

Test results

Production environment without fix

image

Temporal environment with fix

image

Index lifecycle management
image

"metricbeat-opencrvs-rollover-policy": {
    "version": 5,
    "modified_date": "2025-09-24T13:02:24.363Z",
    "policy": {
      "phases": {
        "warm": {
          "min_age": "3d",
          "actions": {
            "forcemerge": {
              "max_num_segments": 1
            },
            "allocate": {
              "number_of_replicas": 0,
              "include": {},
              "exclude": {},
              "require": {}
            },
            "set_priority": {
              "priority": 50
            }
          }
        },
        "cold": {
          "min_age": "7d",
          "actions": {
            "allocate": {
              "number_of_replicas": 0,
              "include": {},
              "exclude": {},
              "require": {}
            },
            "set_priority": {
              "priority": 0
            }
          }
        },
        "hot": {
          "min_age": "0ms",
          "actions": {
            "set_priority": {
              "priority": 100
            },
            "rollover": {
              "max_age": "1d",
              "max_size": "2gb"
            }
          }
        },
        "delete": {
          "min_age": "30d",
          "actions": {
            "delete": {
              "delete_searchable_snapshot": true
            }
          }
        }
      },
...

Checklist

  • I have linked the correct Github issue under "Development"
  • I have tested the changes locally, and written appropriate tests
  • I have tested beyond the happy path (e.g. edge cases, failure paths)
  • I have updated the changelog with this change (if applicable)
  • I have updated the GitHub issue status accordingly

@github-actions

This comment has been minimized.

@adskyiproger adskyiproger changed the title Draft: fix: Store system monitoring data for 1 month (#10515) fix: Store system monitoring data for 1 month (#10515) Sep 29, 2025
@adskyiproger adskyiproger merged commit dccddae into develop Oct 1, 2025
2 checks passed
@adskyiproger adskyiproger deleted the ocrvs-10515 branch October 27, 2025 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants