Skip to content

Mistakes in the documentaion #41

@KurtWasko

Description

@KurtWasko

I was trying to follow this page: Linux with Docker and found some mistakes that blocked me.

  1. In this step:
export ELASTICSEARCH_URL="http://localhost:9200"
bash create_es_indexes.sh

the script uses "http://$ELASTICSEARCH_URL/...", which doubles the http.

  1. In this step:
export GRAFANA_URL="http://localhost:3000"
bash grafana/add_grafana_data_sources.sh

the script uses "http://$GRAFANA_URL/api/datasources", which again doubles http.

I worked around these by changing the export command to remove the http, but might be better to change the scripts, especially since it then calls:

python3 grafana/gen_grafana_model.py

which is expecting $GRAFANA_URL to be the full URL: "http://localhost:3000". Also the backup URL in the command used in the python script:

grafana_url = os.getenv("GRAFANA_URL", "http://$GRAFANA_URL/")

will never work, so there's no point in using it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions