Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up unused templates #3245

Closed
sumo-drosiek opened this issue Sep 6, 2023 · 0 comments
Closed

Clean up unused templates #3245

sumo-drosiek opened this issue Sep 6, 2023 · 0 comments

Comments

@sumo-drosiek
Copy link
Contributor

The following command returns unused templates:

> for i in $(cat templates/_helpers/*.tpl | grep define | grep -oP '".*?"'); do if grep -P "(template|include) ${i}" . -R > /dev/null; then; else  echo $i; fi; done
"sumologic.name"
"sumologic.sumo_client"
"logs.collector.otelcloudwatch.enabled"
"sumologic.labels.metrics.remoteWriteProxy"
"sumologic.labels.app.metrics.collector.pod"
"terraform.sources.endpoint_name"
"sumologic.labels.app.tracessampler.service-metrics"
"sumologic.labels.app.otelcolinstrumentation.statefulset"
"sumologic.labels.app.tracesgateway.deployment"
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

No branches or pull requests

1 participant