- The DevOps 2.3 Toolkit
- Viktor Farcic
- 202字
- 2021-08-13 15:41:09
Conventions used
There are a number of text conventions used throughout this book.
CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Even though we executed the docker command inside a container, the output clearly shows the images from the host."
A block of code is set as follows:
global: scrape_interval: 15s scrape_configs: - job_name: Prometheus metrics_path: /prometheus/metrics static_configs: - targets: - localhost:9090
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
global: scrape_interval: 15s scrape_configs: - job_name: Prometheus metrics_path: /prometheus/metrics static_configs: - targets: - localhost:9090
Any command-line input or output is written as follows:
docker container exec -it $ID \
curl node-exporter:9100/metrics
Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Please type test in the item name field, select Pipeline as the type, and click the OK button."