|
@@ -146,14 +146,16 @@ def build_readme_from_integration(integration, mode=''):
|
|
|
sidebar_label = integration['meta']['monitored_instance']['name']
|
|
|
learn_rel_path = generate_category_from_name(
|
|
|
integration['meta']['monitored_instance']['categories'][0].split("."), categories)
|
|
|
- # build the markdown string
|
|
|
+ most_popular = integration['meta']['most_popular']
|
|
|
|
|
|
+ # build the markdown string
|
|
|
md = \
|
|
|
f"""<!--startmeta
|
|
|
meta_yaml: "{meta_yaml}"
|
|
|
sidebar_label: "{sidebar_label}"
|
|
|
learn_status: "Published"
|
|
|
learn_rel_path: "{learn_rel_path}"
|
|
|
+most_popular: {most_popular}
|
|
|
message: "DO NOT EDIT THIS FILE DIRECTLY, IT IS GENERATED BY THE COLLECTOR'S metadata.yaml FILE"
|
|
|
endmeta-->
|
|
|
|