### Example Logging Payload - Python Source: https://sre.google/sre-book/effective-troubleshooting Demonstrates a typical JSON payload structure for logging a search operation, including the search text. ```python { 'search_text': 'the forms of things unknown' } ``` -------------------------------- ### Map-Valued Variable Example Source: https://sre.google/sre-book/practical-alerting Illustrates the format of a map-valued variable, which allows labels on a variable name and exports a table of values or a histogram. ```APIDOC ## Map-Valued Variable Format ### Description Represents a metric with associated labels, allowing for detailed data export like response codes and their counts. ### Method N/A (This is a data format description) ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response #### Success Response (200) - **http_responses** (map) - A map-valued variable detailing HTTP response codes and their counts. - **code** (string) - The HTTP status code (e.g., 200, 404, 500). - **count** (integer) - The number of occurrences for that status code. #### Response Example ```text http_responses map:code 200:25 404:0 500:12 ``` ```