File: workload_configs.py

package info (click to toggle)
python-azure 20250603%2Bgit-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 851,724 kB
  • sloc: python: 7,362,925; ansic: 804; javascript: 287; makefile: 195; sh: 145; xml: 109
file content (23 lines) | stat: -rw-r--r-- 655 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# The MIT License (MIT)
# Copyright (c) Microsoft Corporation. All rights reserved.
# Replace with your Cosmos DB details
import logging

PREFERRED_LOCATIONS = []
CLIENT_EXCLUDED_LOCATIONS = []
REQUEST_EXCLUDED_LOCATIONS = []
COSMOS_PROXY_URI = "http://0.0.0.0:5100"
COSMOS_URI = ""
COSMOS_KEY = ""
COSMOS_CONTAINER = "scale_cont"
COSMOS_DATABASE = "scale_db"
USER_AGENT_PREFIX = ""
LOG_LEVEL = logging.DEBUG
APP_INSIGHTS_CONNECTION_STRING = ""
CIRCUIT_BREAKER_ENABLED = False
USE_MULTIPLE_WRITABLE_LOCATIONS = False
CONCURRENT_REQUESTS = 100
CONCURRENT_QUERIES = 2
PARTITION_KEY = "id" # id or pk
NUMBER_OF_LOGICAL_PARTITIONS = 10000
THROUGHPUT = 100000