<commit_before>setup:
  - skip:
      version: " - 7.99.99"
      reason: "telemetry for flattened fields was added in 8.0"

---
"Usage stats for flattened fields":
  - do:
      xpack.usage: {}

  - match: { flattened.available: true }
  - match: { flattened.enabled: true }
  - match: { flattened.field_count: 0 }
<commit_msg>Adjust the skip version in flattened field telemetry tests.<commit_after>setup:
  - skip:
      version: " - 7.5.99"
      reason: "telemetry for flattened fields was added in 7.6.0"

---
"Usage stats for flattened fields":
  - do:
      xpack.usage: {}

  - match: { flattened.available: true }
  - match: { flattened.enabled: true }
  - match: { flattened.field_count: 0 }

{'fraction_non_alphanumeric': 0.1337126600284495, 'fraction_numerical': 0.02275960170697013, 'mean_word_length': 2.6858638743455496, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7154618', 'n_tokens_mistral': 259, 'n_tokens_neox': 225, 'n_words': 66}