Skip to content

Commit

Permalink
Remove old scripts, makefile targets
Browse files Browse the repository at this point in the history
  • Loading branch information
mrnicegyu11 committed Dec 18, 2024
1 parent ead277a commit 13f92ba
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 715 deletions.
10 changes: 1 addition & 9 deletions services/monitoring/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,16 +84,8 @@ update.grafana.pwd: .env ## Change grafana pwd
grafanacontainerid=$$(docker ps | grep grafana | awk '{print $$1;}');\
docker exec -ti $$grafanacontainerid grafana-cli admin reset-admin-password $$TRAEFIK_PASSWORD


.PHONY: grafana-export
grafana-export: .venv## Export the remote grafana dashboards and datasources TO YOUR LOCAL MACHINE
@cd grafana/scripts;\
source ${REPO_BASE_DIR}/.venv/bin/activate;\
pip install -r requirements.txt > /dev/null 2>&1;\
python3 export.py;

.PHONY: grafana-import
grafana-import: grafana/assets ## Imports AND OVERWRITES the remote grafana dashboards and datasources FROM YOUR LOCAL MACHINE
grafana-import: grafana/assets ## Imports the remote grafana dashboards and datasources FROM YOUR LOCAL MACHINE
@pushd ${REPO_BASE_DIR}/services/monitoring/grafana && \
$(MAKE) terraform-plan && \
$(MAKE) terraform-apply; \
Expand Down
2 changes: 0 additions & 2 deletions services/monitoring/docker-compose.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ configs:
file: ./prometheus/prometheus-federation.yml
prometheus_rules:
file: ./prometheus/prometheus.rules.yml
grafana_image_renderer_config:
file: ./grafana-image-renderer/config.json
pgsql_query_exporter_config:
file: ./pgsql_query_exporter_config.yaml
smokeping_prober_config:
Expand Down
2 changes: 0 additions & 2 deletions services/monitoring/grafana/scripts/.gitignore

This file was deleted.

26 changes: 0 additions & 26 deletions services/monitoring/grafana/scripts/README.MD

This file was deleted.

150 changes: 0 additions & 150 deletions services/monitoring/grafana/scripts/export.py

This file was deleted.

Loading

0 comments on commit 13f92ba

Please sign in to comment.