Remove the console exporter
I'm not sure how this got left in, presumably it was not intended.
This commit is contained in:
		
					parent
					
						
							
								4ddf9ce29c
							
						
					
				
			
			
				commit
				
					
						7153ead8cb
					
				
			
		
					 2 changed files with 2 additions and 7 deletions
				
			
		| 
						 | 
					@ -14,10 +14,7 @@ See the License for the specific language governing permissions and
 | 
				
			||||||
limitations under the License.
 | 
					limitations under the License.
 | 
				
			||||||
*/
 | 
					*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import {
 | 
					import { SimpleSpanProcessor } from "@opentelemetry/sdk-trace-base";
 | 
				
			||||||
  ConsoleSpanExporter,
 | 
					 | 
				
			||||||
  SimpleSpanProcessor,
 | 
					 | 
				
			||||||
} from "@opentelemetry/sdk-trace-base";
 | 
					 | 
				
			||||||
import { OTLPTraceExporter } from "@opentelemetry/exporter-trace-otlp-http";
 | 
					import { OTLPTraceExporter } from "@opentelemetry/exporter-trace-otlp-http";
 | 
				
			||||||
import { WebTracerProvider } from "@opentelemetry/sdk-trace-web";
 | 
					import { WebTracerProvider } from "@opentelemetry/sdk-trace-web";
 | 
				
			||||||
import opentelemetry, { Tracer } from "@opentelemetry/api";
 | 
					import opentelemetry, { Tracer } from "@opentelemetry/api";
 | 
				
			||||||
| 
						 | 
					@ -93,9 +90,6 @@ export class ElementCallOpenTelemetry {
 | 
				
			||||||
      this._provider.addSpanProcessor(this.rageshakeProcessor);
 | 
					      this._provider.addSpanProcessor(this.rageshakeProcessor);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    this._provider.addSpanProcessor(
 | 
					 | 
				
			||||||
      new SimpleSpanProcessor(new ConsoleSpanExporter())
 | 
					 | 
				
			||||||
    );
 | 
					 | 
				
			||||||
    this._provider.addSpanProcessor(new PosthogSpanProcessor());
 | 
					    this._provider.addSpanProcessor(new PosthogSpanProcessor());
 | 
				
			||||||
    opentelemetry.trace.setGlobalTracerProvider(this._provider);
 | 
					    opentelemetry.trace.setGlobalTracerProvider(this._provider);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -133,6 +133,7 @@ function getParticipants(
 | 
				
			||||||
            : ConnectionState.WaitMedia
 | 
					            : ConnectionState.WaitMedia
 | 
				
			||||||
          : ConnectionState.EstablishingCall;
 | 
					          : ConnectionState.EstablishingCall;
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
 | 
					      console.log(`${member.userId} conn state is ${connectionState}`);
 | 
				
			||||||
      participantInfoMap.set(deviceId, {
 | 
					      participantInfoMap.set(deviceId, {
 | 
				
			||||||
        connectionState,
 | 
					        connectionState,
 | 
				
			||||||
        presenter: participant.screensharing,
 | 
					        presenter: participant.screensharing,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue