File tree Expand file tree Collapse file tree 1 file changed +117
-0
lines changed Expand file tree Collapse file tree 1 file changed +117
-0
lines changed Original file line number Diff line number Diff line change 73337333 },
73347334 "x-run-in-apifox" : " https://apifox.com/web/project/3516282/apis/api-123060905-run"
73357335 }
7336+ },
7337+ "/api/neuron/otel" : {
7338+ "get" : {
7339+ "summary" : " Get OTEL Trace Configuration" ,
7340+ "x-apifox-folder" : " Neuron/trace" ,
7341+ "x-apifox-status" : " released" ,
7342+ "deprecated" : false ,
7343+ "description" : " Get OTEL Trace Configuration." ,
7344+ "tags" : [
7345+ " Neuron/trace"
7346+ ],
7347+ "parameters" : [],
7348+ "responses" : {
7349+ "200" : {
7350+ "description" : " success" ,
7351+ "content" : {
7352+ "application/json" : {
7353+ "schema" : {
7354+ "type" : " object" ,
7355+ "properties" : {
7356+ "action" : {
7357+ "type" : " string"
7358+ },
7359+ "collector_url" : {
7360+ "type" : " string"
7361+ },
7362+ "control" : {
7363+ "type" : " boolean"
7364+ },
7365+ "data" : {
7366+ "type" : " boolean"
7367+ },
7368+ "data_sample_rate" : {
7369+ "type" : " number" ,
7370+ "format" : " double"
7371+ },
7372+ "service_name" : {
7373+ "type" : " string"
7374+ }
7375+ }
7376+ }
7377+ }
7378+ }
7379+ }
7380+ },
7381+ "x-run-in-apifox" : " https://apifox.com/web/project/3516282/apis/api-123060905-run"
7382+ },
7383+ "post" : {
7384+ "summary" : " Set OTEL Trace Configuration" ,
7385+ "x-apifox-folder" : " Neuron/trace" ,
7386+ "x-apifox-status" : " released" ,
7387+ "deprecated" : false ,
7388+ "description" : " Set OTEL Trace Configuration." ,
7389+ "tags" : [
7390+ " Neuron/trace"
7391+ ],
7392+ "parameters" : [],
7393+ "requestBody" : {
7394+ "content" : {
7395+ "application/json" : {
7396+ "schema" : {
7397+ "type" : " object" ,
7398+ "properties" : {
7399+ "action" : {
7400+ "type" : " string"
7401+ },
7402+ "collector_url" : {
7403+ "type" : " string"
7404+ },
7405+ "control" : {
7406+ "type" : " boolean"
7407+ },
7408+ "data" : {
7409+ "type" : " boolean"
7410+ },
7411+ "data_sample_rate" : {
7412+ "type" : " number" ,
7413+ "format" : " double"
7414+ },
7415+ "service_name" : {
7416+ "type" : " string"
7417+ }
7418+ },
7419+ "example" : {
7420+ "action" : " start" ,
7421+ "collector_url" : " 127.0.0.1:4318" ,
7422+ "control" : true ,
7423+ "data" : true ,
7424+ "data_sample_rate" : 0.01 ,
7425+ "service_name" : " neuronex-001"
7426+ }
7427+ }
7428+ }
7429+ }
7430+ },
7431+ "responses" : {
7432+ "200" : {
7433+ "description" : " success" ,
7434+ "content" : {
7435+ "application/json" : {
7436+ "schema" : {
7437+ "$ref" : " #/components/schemas/neuron-0"
7438+ },
7439+ "examples" : {
7440+ "1" : {
7441+ "summary" : " success" ,
7442+ "value" : {
7443+ "error" : 0
7444+ }
7445+ }
7446+ }
7447+ }
7448+ }
7449+ }
7450+ },
7451+ "x-run-in-apifox" : " https://apifox.com/web/project/3516282/apis/api-123060905-run"
7452+ }
73367453 }
73377454 },
73387455 "components" : {
You can’t perform that action at this time.
0 commit comments