SYMBOL INDEX (346 symbols across 32 files) FILE: app-instrumentation/logging/popular-logging-frameworks/cpp/main.cpp function main (line 6) | int main() { FILE: app-instrumentation/logging/popular-logging-frameworks/csharp/Program.cs class Program (line 9) | class Program method Main (line 13) | static async Task Main(string[] args) FILE: app-instrumentation/logging/popular-logging-frameworks/go/main.go function main (line 11) | func main() { FILE: app-instrumentation/logging/popular-logging-frameworks/java/App.java class App (line 5) | public class App { method main (line 11) | public static void main(String[] args) { FILE: app-instrumentation/logging/popular-logging-frameworks/javascript/app.js function logMessage (line 23) | function logMessage() { FILE: app-instrumentation/logging/popular-logging-frameworks/python/app.py function main (line 17) | def main(): FILE: aws-firehose-logs/firehose_sender.py function vpc_flow_line (line 39) | def vpc_flow_line() -> str: function lambda_log_line (line 49) | def lambda_log_line() -> str: function cloudwatch_envelope (line 56) | def cloudwatch_envelope(log_group: str, log_stream: str, line_fn) -> dict: function encode_record (line 78) | def encode_record(envelope: dict) -> dict: function send_batch (line 88) | def send_batch() -> None: function main (line 113) | def main() -> int: FILE: continuous-profiling/app/main.go function cpuIntensive (line 11) | func cpuIntensive() { function memoryIntensive (line 21) | func memoryIntensive() { function main (line 36) | func main() { FILE: game-of-tracing/ai_opponent/ai_server.py function get_map_graph (line 172) | def get_map_graph(map_id): function get_capitals (line 176) | def get_capitals(map_id): function get_location_types (line 180) | def get_location_types(map_id): function get_initial_factions (line 184) | def get_initial_factions(map_id): function get_army_cost_for (line 188) | def get_army_cost_for(map_id, faction): class GamePhase (line 194) | class GamePhase(Enum): class MapAnalyzer (line 203) | class MapAnalyzer: method __init__ (line 206) | def __init__(self, graph=None, capitals=None): method _bfs_distances (line 215) | def _bfs_distances(self, start): method _compute_all_distances (line 227) | def _compute_all_distances(self): method _compute_strategic_values (line 231) | def _compute_strategic_values(self): method distance (line 251) | def distance(self, a, b): method neighbors (line 254) | def neighbors(self, loc): method path_army_estimate (line 257) | def path_army_estimate(self, game_state, from_loc, to_loc, my_faction): class GameMemory (line 290) | class GameMemory: method __init__ (line 293) | def __init__(self): method update (line 299) | def update(self, game_state, my_faction): method record_failed_attack (line 322) | def record_failed_attack(self, target): method recently_failed (line 325) | def recently_failed(self, target, cooldown=60): method territory_lost_recently (line 331) | def territory_lost_recently(self, seconds=30): class PhaseDetector (line 346) | class PhaseDetector: method detect (line 350) | def detect(my_territories, enemy_territories, total_army): class Planner (line 367) | class Planner: method __init__ (line 370) | def __init__(self): method active (line 375) | def active(self): method set_plan (line 378) | def set_plan(self, goal, steps): method next_step (line 382) | def next_step(self): method advance (line 387) | def advance(self): method abandon (line 391) | def abandon(self, reason=""): method validate (line 395) | def validate(self, game_state, my_faction, my_capital): class StrategicAI (line 419) | class StrategicAI: method __init__ (line 422) | def __init__(self, faction, map_id="war_of_kingdoms"): method decide (line 442) | def decide(self, game_state): method _check_capital_defense (line 530) | def _check_capital_defense(self, game_state): method _reinforce_capital (line 574) | def _reinforce_capital(self, game_state): method _step_toward (line 599) | def _step_toward(self, from_loc, toward_loc): method _find_zero_risk_captures (line 616) | def _find_zero_risk_captures(self, game_state): method _do_resource_transfers (line 665) | def _do_resource_transfers(self, game_state): method _execute_plan_step (line 688) | def _execute_plan_step(self, game_state): method _create_new_plan (line 750) | def _create_new_plan(self, game_state): method _plan_capture (line 795) | def _plan_capture(self, game_state): method _find_capturable_targets (line 829) | def _find_capturable_targets(self, game_state): method _plan_all_out_attack (line 875) | def _plan_all_out_attack(self, game_state): method _concentrate_forces (line 892) | def _concentrate_forces(self, game_state): method _fallback (line 924) | def _fallback(self, game_state): method get_pause_time (line 934) | def get_pause_time(self): class WhiteWalkerAI (line 946) | class WhiteWalkerAI(StrategicAI): method decide (line 968) | def decide(self, game_state): method _defend_fortress (line 1029) | def _defend_fortress(self, game_state): method _capture_unowned_wall (line 1064) | def _capture_unowned_wall(self, game_state): method _reinforce_weakest_wall (line 1091) | def _reinforce_weakest_wall(self, game_state): method _raid_barbarian (line 1140) | def _raid_barbarian(self, game_state): method _raise_army_from_corpses (line 1173) | def _raise_army_from_corpses(self, game_state, corpses): method _passive_fallback (line 1191) | def _passive_fallback(self): method _walls (line 1200) | def _walls(self): method _nearest_source_with_army (line 1204) | def _nearest_source_with_army(self, game_state, target, needed): class AIState (line 1224) | class AIState: method __init__ (line 1225) | def __init__(self): function get_location_url (line 1239) | def get_location_url(location_id): function fetch_faction_corpses (line 1257) | def fetch_faction_corpses(faction): function make_api_request (line 1272) | def make_api_request(location_id, endpoint, method='GET', data=None): function get_game_state (line 1308) | def get_game_state(parent_ctx): function execute_strategic_action (line 1350) | def execute_strategic_action(action, game_state, parent_ctx, decision_li... function ai_decision_loop (line 1440) | def ai_decision_loop(): function activate_ai (line 1539) | def activate_ai(): function deactivate_ai (line 1611) | def deactivate_ai(): function ai_status (line 1627) | def ai_status(): function health_check (line 1637) | def health_check(): FILE: game-of-tracing/ai_opponent/telemetry.py class AITelemetry (line 29) | class AITelemetry: method __init__ (line 30) | def __init__(self, service_name="ai-opponent", logging_endpoint="http:... method _setup_logging (line 47) | def _setup_logging(self): method _setup_tracing (line 74) | def _setup_tracing(self): method _setup_profiling (line 91) | def _setup_profiling(self): method _setup_metrics (line 102) | def _setup_metrics(self): method _observe_territory_count (line 175) | def _observe_territory_count(self, options: CallbackOptions) -> Iterab... method _observe_total_army (line 188) | def _observe_total_army(self, options: CallbackOptions) -> Iterable[Ob... method set_state_callback (line 201) | def set_state_callback(self, fn): method set_corpse_callback (line 205) | def set_corpse_callback(self, fn): method _observe_corpse_pool (line 212) | def _observe_corpse_pool(self, options: CallbackOptions) -> Iterable[O... method record_wall_captured (line 224) | def record_wall_captured(self, wall_id, source): method record_decision (line 230) | def record_decision(self, action_type, phase): method record_plan_created (line 234) | def record_plan_created(self, goal): method record_plan_abandoned (line 238) | def record_plan_abandoned(self, reason): method record_cycle_duration (line 242) | def record_cycle_duration(self, seconds): method collect_metrics (line 246) | def collect_metrics(self): method get_tracer (line 254) | def get_tracer(self): method get_logger (line 258) | def get_logger(self): method shutdown (line 262) | def shutdown(self): FILE: game-of-tracing/app/game_config.py function get_map (line 301) | def get_map(map_id): function resolve_slot (line 308) | def resolve_slot(map_id, slot_id): function get_location_config (line 313) | def get_location_config(map_id, location_id): function get_rules (line 318) | def get_rules(map_id): function get_army_cost (line 323) | def get_army_cost(map_id, faction): function get_army_currency (line 329) | def get_army_currency(map_id, faction): function locations_by_type (line 335) | def locations_by_type(map_id, type_name): FILE: game-of-tracing/app/location_server.py class PathType (line 40) | class PathType(Enum): class LocationServer (line 44) | class LocationServer: method __init__ (line 45) | def __init__(self, slot_or_location=None): method _current_locations (line 102) | def _current_locations(self) -> Dict: method _current_rules (line 106) | def _current_rules(self) -> Dict: method _read_active_map_id (line 109) | def _read_active_map_id(self) -> str: method _load_identity (line 119) | def _load_identity(self): method _start_passive_threads_if_needed (line 156) | def _start_passive_threads_if_needed(self): method _get_corpses (line 209) | def _get_corpses(self, faction: str = "white_walkers") -> int: method _add_corpses (line 219) | def _add_corpses(self, delta: int, faction: str = "white_walkers"): method _spend_corpses (line 233) | def _spend_corpses(self, amount: int, faction: str = "white_walkers") ... method _find_capital (line 247) | def _find_capital(self, faction: str) -> Optional[str]: method _find_enemy_capital (line 254) | def _find_enemy_capital(self, faction: str) -> Optional[str]: method _get_db_connection (line 261) | def _get_db_connection(self): method _initialize_database (line 271) | def _initialize_database(self): method _get_location_state (line 310) | def _get_location_state(self, location_id): method _update_location_state (line 327) | def _update_location_state(self, location_id, resources=None, army=Non... method _find_path (line 361) | def _find_path(self, target: str, path_type: PathType) -> Optional[Lis... method _handle_battle (line 421) | def _handle_battle(self, attacking_army: int, attacking_faction: str, method _continue_army_movement (line 469) | def _continue_army_movement(self, army_size: int, faction: str, curren... method _transfer_resources_along_path (line 533) | def _transfer_resources_along_path(self, resources: int, path: List[st... method _make_request_with_trace (line 587) | def _make_request_with_trace(self, method: str, url: str, json_data: O... method _can_collect_resources (line 614) | def _can_collect_resources(self) -> tuple[bool, Optional[str], Optiona... method _start_resource_cooldown (line 642) | def _start_resource_cooldown(self): method get_location_url (line 646) | def get_location_url(self, location_id): method _container_for (line 663) | def _container_for(self, location_id: str) -> str: method _start_passive_generation (line 680) | def _start_passive_generation(self): method _start_barbarian_growth (line 714) | def _start_barbarian_growth(self, interval_s: int): method _start_nights_watch_capital_resource_tick (line 746) | def _start_nights_watch_capital_resource_tick(self, interval_s: int, a... method _start_white_walker_corpse_tick (line 781) | def _start_white_walker_corpse_tick(self, interval_s: int): method reset_database (line 806) | def reset_database(self): method setup_routes (line 830) | def setup_routes(self): method run (line 1554) | def run(self): FILE: game-of-tracing/app/run_game.py function reset_game (line 10) | def reset_game(): function run_location (line 40) | def run_location(location_id): function run_single_location (line 46) | def run_single_location(): function show_game_state (line 61) | def show_game_state(): function run_game (line 91) | def run_game(reset=False): FILE: game-of-tracing/app/telemetry.py class GameTelemetry (line 29) | class GameTelemetry: method __init__ (line 30) | def __init__(self, service_name, logging_endpoint="http://alloy:4318",... method _setup_logging (line 44) | def _setup_logging(self): method _setup_tracing (line 71) | def _setup_tracing(self): method _setup_profiling (line 88) | def _setup_profiling(self): method _setup_metrics (line 105) | def _setup_metrics(self): method _setup_game_gauges (line 132) | def _setup_game_gauges(self): method _active_location_id (line 188) | def _active_location_id(self): method _active_location_type (line 197) | def _active_location_type(self): method _observe_resources (line 200) | def _observe_resources(self, options: CallbackOptions) -> Iterable[Obs... method _observe_army_size (line 218) | def _observe_army_size(self, options: CallbackOptions) -> Iterable[Obs... method _observe_resource_cooldown (line 237) | def _observe_resource_cooldown(self, options: CallbackOptions) -> Iter... method _observe_location_control (line 257) | def _observe_location_control(self, options: CallbackOptions) -> Itera... method get_tracer (line 279) | def get_tracer(self): method get_logger (line 283) | def get_logger(self): method get_meter (line 287) | def get_meter(self): method record_battle (line 291) | def record_battle(self, attacker_faction: str, defender_faction: str, ... method collect_metrics (line 309) | def collect_metrics(self): method shutdown (line 320) | def shutdown(self): FILE: game-of-tracing/war_map/app.py function _current_positions (line 147) | def _current_positions(): function _current_connections (line 154) | def _current_connections(): function _current_walls (line 161) | def _current_walls(): function init_game_session_tracking (line 164) | def init_game_session_tracking(): function store_game_action (line 218) | def store_game_action(game_session_id, action_type, player_name, faction, function get_session_map_id (line 259) | def get_session_map_id(session_id): function get_previous_action_context (line 291) | def get_previous_action_context(game_session_id, target_sequence): function create_span_link_from_context (line 333) | def create_span_link_from_context(span_context, link_type="game_sequence"): function remove_frame_options (line 353) | def remove_frame_options(response): function _container_for_slot (line 433) | def _container_for_slot(slot_id): function _slot_port_pairs (line 438) | def _slot_port_pairs(): function get_db_connection (line 451) | def get_db_connection(): function _ensure_game_config_tables (line 463) | def _ensure_game_config_tables(): function get_active_map_id (line 508) | def get_active_map_id(): function set_active_map_id (line 521) | def set_active_map_id(map_id): function reset_wall_hold (line 539) | def reset_wall_hold(map_id): function bump_wall_hold (line 551) | def bump_wall_hold(map_id, faction, reset_others=True): function get_wall_hold (line 584) | def get_wall_hold(map_id): function get_faction_corpses (line 597) | def get_faction_corpses(faction): function check_faction_availability (line 610) | def check_faction_availability(faction): function register_faction (line 641) | def register_faction(faction, player_name, session_id): function get_player_faction (line 660) | def get_player_faction(session_id): function release_faction (line 676) | def release_faction(session_id): function release_all_factions (line 691) | def release_all_factions(): function get_location_url (line 706) | def get_location_url(location_id): function make_api_request (line 720) | def make_api_request(location_id, endpoint, method='GET', data=None): function check_game_over (line 770) | def check_game_over(locations_data, map_id=None): function check_capital_capture_win (line 781) | def check_capital_capture_win(locations_data): function check_wall_hold_win (line 801) | def check_wall_hold_win(locations_data, map_id): function reset_game_state (line 832) | def reset_game_state(): function reset_game_data (line 839) | def reset_game_data(): function health (line 876) | def health(): function index (line 880) | def index(): function map_picker (line 930) | def map_picker(): function select_map (line 937) | def select_map(): function select_faction (line 1009) | def select_faction(): function logout (line 1095) | def logout(): function restart_game (line 1105) | def restart_game(): function game_map (line 1132) | def game_map(): function collect_resources (line 1185) | def collect_resources(): function create_army (line 1242) | def create_army(): function move_army (line 1299) | def move_army(): function location_info (line 1402) | def location_info(location_id): function map_data (line 1412) | def map_data(): function game_status (line 1450) | def game_status(): function reset_game (line 1471) | def reset_game(): function send_resources_to_capital (line 1477) | def send_resources_to_capital(): function all_out_attack (line 1499) | def all_out_attack(): function toggle_ai (line 1582) | def toggle_ai(): function get_ai_status (line 1650) | def get_ai_status(): function get_replay_sessions (line 1662) | def get_replay_sessions(): function replay_page (line 1743) | def replay_page(): function replay_session_page (line 1748) | def replay_session_page(session_id): function get_replay_session (line 1845) | def get_replay_session(session_id): function parse_span_to_action_from_detail (line 1986) | def parse_span_to_action_from_detail(span, trace_id, root_trace_name): function parse_span_to_action_from_search (line 2091) | def parse_span_to_action_from_search(span, trace_id, root_trace_name, se... function verify_action_links (line 2161) | def verify_action_links(actions): function _wall_tick_thread (line 2215) | def _wall_tick_thread(): FILE: game-of-tracing/war_map/telemetry.py class GameTelemetry (line 20) | class GameTelemetry: method __init__ (line 21) | def __init__(self, service_name, logging_endpoint="http://alloy:4318",... method _setup_logging (line 33) | def _setup_logging(self): method _setup_tracing (line 60) | def _setup_tracing(self): method _setup_profiling (line 77) | def _setup_profiling(self): method get_tracer (line 88) | def get_tracer(self): method get_logger (line 92) | def get_logger(self): method shutdown (line 96) | def shutdown(self): FILE: logs-file/main.py function simulate_process (line 25) | def simulate_process(): FILE: mail-house/main.py function generate_log_entry (line 42) | def generate_log_entry(): function main (line 68) | def main(): FILE: otel-basic-tracing/app/app.py function home (line 39) | def home(): function simple_trace (line 53) | def simple_trace(): function nested_trace (line 61) | def nested_trace(): function error_trace (line 83) | def error_trace(): function chain_trace (line 95) | def chain_trace(): function service_b (line 112) | def service_b(): function service_c (line 125) | def service_c(): function delayed_chain_trace (line 141) | def delayed_chain_trace(): function delayed_service_a (line 161) | def delayed_service_a(): function delayed_service_b (line 175) | def delayed_service_b(): function delayed_service_c (line 189) | def delayed_service_c(): function delayed_service_d (line 203) | def delayed_service_d(): function delayed_service_e (line 222) | def delayed_service_e(): FILE: otel-examples/cost-control/app/app.py function health (line 56) | def health(): function ready (line 63) | def ready(): function order (line 70) | def order(): function error (line 86) | def error(): function load_generator (line 98) | def load_generator(): FILE: otel-examples/count-connector/app/app.py function process (line 57) | def process(): function notify (line 78) | def notify(): function health (line 96) | def health(): function load_generator (line 100) | def load_generator(): FILE: otel-examples/filelog-processing/app/generate_logs.py function write_json_line (line 39) | def write_json_line(f, level): function write_plain_line (line 50) | def write_plain_line(f, level): function main (line 56) | def main(): FILE: otel-examples/kafka-buffer/app/app.py function list_items (line 40) | def list_items(): function get_item (line 49) | def get_item(item_id): function checkout (line 59) | def checkout(): function health (line 75) | def health(): function generate_load (line 79) | def generate_load(): FILE: otel-examples/multi-pipeline-fanout/app/app.py function list_orders (line 52) | def list_orders(): function create_order (line 61) | def create_order(): function health (line 71) | def health(): function generate_load (line 75) | def generate_load(): FILE: otel-examples/ottl-transform/app/app.py function send_json_log_records (line 50) | def send_json_log_records(): function send_traces (line 64) | def send_traces(): function main (line 92) | def main(): FILE: otel-examples/pii-redaction/app/app.py function place_order (line 77) | def place_order(): function health (line 99) | def health(): function traffic_generator (line 103) | def traffic_generator(): FILE: otel-examples/resource-enrichment/app/app.py function list_users (line 57) | def list_users(): function list_items (line 72) | def list_items(): function health (line 87) | def health(): function load_generator (line 91) | def load_generator(): FILE: otel-examples/routing-multi-tenant/app/generate_logs.py function create_logger (line 38) | def create_logger(tenant: str, service_name: str) -> logging.Logger: function main (line 55) | def main(): FILE: otel-span-metrics/app/main.py function index (line 20) | def index(): function get_data (line 26) | def get_data(): function slow (line 34) | def slow(): FILE: otel-tail-sampling/app/app.py function generate_simple_trace (line 50) | def generate_simple_trace(): function generate_nested_trace (line 59) | def generate_nested_trace(): function generate_error_trace (line 82) | def generate_error_trace(): function generate_high_latency_trace (line 93) | def generate_high_latency_trace(): function generate_delayed_chain_trace (line 102) | def generate_delayed_chain_trace(): function generate_multi_service_trace_bg (line 158) | def generate_multi_service_trace_bg(): function generate_trace_batch (line 250) | def generate_trace_batch(): function trace_generator_thread (line 269) | def trace_generator_thread(): function home (line 284) | def home(): function simple_trace (line 303) | def simple_trace(): function nested_trace (line 308) | def nested_trace(): function error_trace (line 313) | def error_trace(): function high_latency_trace (line 318) | def high_latency_trace(): function batch_trace (line 323) | def batch_trace(): function multi_service_trace (line 328) | def multi_service_trace(): function chain_trace (line 338) | def chain_trace(): function service_b (line 355) | def service_b(): function service_c (line 369) | def service_c(): function delayed_chain_trace_endpoint (line 386) | def delayed_chain_trace_endpoint(): function delayed_service_a (line 406) | def delayed_service_a(): function delayed_service_b (line 421) | def delayed_service_b(): function delayed_service_c (line 436) | def delayed_service_c(): function delayed_service_d (line 451) | def delayed_service_d(): function delayed_service_e (line 471) | def delayed_service_e(): FILE: otel-tracing-service-graphs/app/app.py function home (line 40) | def home(): function simple_trace (line 55) | def simple_trace(): function nested_trace (line 63) | def nested_trace(): function error_trace (line 85) | def error_trace(): function chain_trace (line 97) | def chain_trace(): function service_b (line 114) | def service_b(): function service_c (line 127) | def service_c(): function delayed_chain_trace (line 143) | def delayed_chain_trace(): function delayed_service_a (line 163) | def delayed_service_a(): function delayed_service_b (line 179) | def delayed_service_b(): function delayed_service_c (line 195) | def delayed_service_c(): function delayed_service_d (line 211) | def delayed_service_d(): function delayed_service_e (line 232) | def delayed_service_e(): function multi_service_trace (line 245) | def multi_service_trace(): function generate_multi_service_trace (line 254) | def generate_multi_service_trace(): FILE: trace-delivery/app/app.py function generate_order_id (line 79) | def generate_order_id(): function random_item (line 83) | def random_item(items): function should_fail (line 87) | def should_fail(service_name, order): function maybe_add_latency (line 100) | def maybe_add_latency(service_name, span): function home (line 114) | def home(): function catalog (line 137) | def catalog(): function place_order (line 147) | def place_order(): function check_order_status (line 207) | def check_order_status(): function delivery_notification (line 232) | def delivery_notification(): function manufacture (line 275) | def manufacture(): function global_pickup (line 459) | def global_pickup(): function local_deliver (line 604) | def local_deliver(): function customer_receive (line 805) | def customer_receive(): function demo_success (line 845) | def demo_success(): function demo_failure_endpoint (line 903) | def demo_failure_endpoint(): function demo_failure (line 906) | def demo_failure(failure_service=None, is_background=False): function demo_latency_endpoint (line 976) | def demo_latency_endpoint(): function demo_latency (line 979) | def demo_latency(latency_service=None, is_background=False): function generate_random_trace (line 1049) | def generate_random_trace(): function trace_generator_thread (line 1122) | def trace_generator_thread():