{"nodes": [{"id": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_py", "label": "exporter.py", "file_type": "code", "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L1"}, {"id": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_rpc", "label": "rpc()", "file_type": "code", "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L14", "_callable": true}, {"id": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_hex_to_int", "label": "hex_to_int()", "file_type": "code", "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L32", "_callable": true}, {"id": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_collect_metrics", "label": "collect_metrics()", "file_type": "code", "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L38", "_callable": true}, {"id": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_metricshandler", "label": "MetricsHandler", "file_type": "code", "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L77", "_callable": true, "_callable_class": true}, {"id": "basehttprequesthandler", "label": "BaseHTTPRequestHandler", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/infra/blockchain-devnet/metrics/exporter.py"}, {"id": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_metricshandler_do_get", "label": ".do_GET()", "file_type": "code", "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L78", "_callable": true}, {"id": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_metricshandler_log_message", "label": ".log_message()", "file_type": "code", "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L91", "_callable": true}], "edges": [{"source": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_py", "target": "json", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L2", "weight": 1.0}, {"source": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_py", "target": "os", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L3", "weight": 1.0}, {"source": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_py", "target": "time", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L4", "weight": 1.0}, {"source": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_py", "target": "urllib_error", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L5", "weight": 1.0}, {"source": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_py", "target": "urllib_request", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L6", "weight": 1.0}, {"source": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_py", "target": "http_server", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L7", "weight": 1.0}, {"source": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_py", "target": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_rpc", "relation": "contains", "confidence": "EXTRACTED", "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L14", "weight": 1.0}, {"source": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_py", "target": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_hex_to_int", "relation": "contains", "confidence": "EXTRACTED", "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L32", "weight": 1.0}, {"source": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_py", "target": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_collect_metrics", "relation": "contains", "confidence": "EXTRACTED", "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L38", "weight": 1.0}, {"source": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_py", "target": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_metricshandler", "relation": "contains", "confidence": "EXTRACTED", "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L77", "weight": 1.0}, {"source": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_metricshandler", "target": "basehttprequesthandler", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L77", "weight": 1.0}, {"source": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_metricshandler", "target": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_metricshandler_do_get", "relation": "method", "confidence": "EXTRACTED", "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L78", "weight": 1.0}, {"source": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_metricshandler", "target": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_metricshandler_log_message", "relation": "method", "confidence": "EXTRACTED", "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L91", "weight": 1.0}, {"source": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_collect_metrics", "target": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_rpc", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L46", "weight": 1.0}, {"source": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_collect_metrics", "target": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_hex_to_int", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L48", "weight": 1.0}, {"source": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_metricshandler_do_get", "target": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_collect_metrics", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L84", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_rpc", "callee": "monotonic", "is_member_call": true, "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L15", "receiver": "time"}, {"caller_nid": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_rpc", "callee": "encode", "is_member_call": true, "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L16", "receiver": null}, {"caller_nid": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_rpc", "callee": "dumps", "is_member_call": true, "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L16", "receiver": "json"}, {"caller_nid": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_rpc", "callee": "Request", "is_member_call": true, "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L19", "receiver": null}, {"caller_nid": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_rpc", "callee": "RPC_URL", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L20"}, {"caller_nid": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_rpc", "callee": "urlopen", "is_member_call": true, "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L25", "receiver": null}, {"caller_nid": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_rpc", "callee": "loads", "is_member_call": true, "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L26", "receiver": "json"}, {"caller_nid": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_rpc", "callee": "decode", "is_member_call": true, "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L26", "receiver": null}, {"caller_nid": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_rpc", "callee": "read", "is_member_call": true, "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L26", "receiver": "response"}, {"caller_nid": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_rpc", "callee": "RuntimeError", "is_member_call": false, "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L28", "receiver": null}, {"caller_nid": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_rpc", "callee": "get", "is_member_call": true, "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L29", "receiver": "payload"}, {"caller_nid": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_rpc", "callee": "monotonic", "is_member_call": true, "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L29", "receiver": "time"}, {"caller_nid": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_hex_to_int", "callee": "str", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L33"}, {"caller_nid": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_hex_to_int", "callee": "startswith", "is_member_call": true, "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L33", "receiver": "value"}, {"caller_nid": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_collect_metrics", "callee": "OSError", "is_member_call": false, "indirect": true, "context": "collection", "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L49"}, {"caller_nid": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_collect_metrics", "callee": "RuntimeError", "is_member_call": false, "indirect": true, "context": "collection", "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L49"}, {"caller_nid": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_collect_metrics", "callee": "ValueError", "is_member_call": false, "indirect": true, "context": "collection", "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L49"}, {"caller_nid": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_collect_metrics", "callee": "append", "is_member_call": true, "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L53", "receiver": "metrics"}, {"caller_nid": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_collect_metrics", "callee": "append", "is_member_call": true, "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L54", "receiver": "metrics"}, {"caller_nid": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_collect_metrics", "callee": "append", "is_member_call": true, "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L55", "receiver": "metrics"}, {"caller_nid": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_collect_metrics", "callee": "items", "is_member_call": true, "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L63", "receiver": "gauge_map"}, {"caller_nid": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_collect_metrics", "callee": "append", "is_member_call": true, "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L65", "receiver": "metrics"}, {"caller_nid": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_collect_metrics", "callee": "append", "is_member_call": true, "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L66", "receiver": "metrics"}, {"caller_nid": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_collect_metrics", "callee": "append", "is_member_call": true, "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L68", "receiver": "metrics"}, {"caller_nid": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_collect_metrics", "callee": "items", "is_member_call": true, "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L69", "receiver": "latencies"}, {"caller_nid": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_collect_metrics", "callee": "append", "is_member_call": true, "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L70", "receiver": "metrics"}, {"caller_nid": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_collect_metrics", "callee": "join", "is_member_call": true, "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L74", "receiver": null}, {"caller_nid": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_metricshandler_do_get", "callee": "send_response", "is_member_call": true, "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L80", "receiver": "self"}, {"caller_nid": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_metricshandler_do_get", "callee": "end_headers", "is_member_call": true, "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L81", "receiver": "self"}, {"caller_nid": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_metricshandler_do_get", "callee": "encode", "is_member_call": true, "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L84", "receiver": null}, {"caller_nid": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_metricshandler_do_get", "callee": "send_response", "is_member_call": true, "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L85", "receiver": "self"}, {"caller_nid": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_metricshandler_do_get", "callee": "send_header", "is_member_call": true, "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L86", "receiver": "self"}, {"caller_nid": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_metricshandler_do_get", "callee": "send_header", "is_member_call": true, "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L87", "receiver": "self"}, {"caller_nid": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_metricshandler_do_get", "callee": "end_headers", "is_member_call": true, "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L88", "receiver": "self"}, {"caller_nid": "$graphify-root$_infra_blockchain_devnet_metrics_exporter_metricshandler_do_get", "callee": "write", "is_member_call": true, "source_file": "infra/blockchain-devnet/metrics/exporter.py", "source_location": "L89", "receiver": null}]}