Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
lmolkova committed May 26, 2022
1 parent 4d74b00 commit 5ddd16a
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 112 deletions.
1 change: 0 additions & 1 deletion sdk/core/.LCKpom.xml~

This file was deleted.

9 changes: 1 addition & 8 deletions sdk/core/azure-core-http-netty/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,7 @@ The following sections provide several code snippets covering some of the most c
Create a Netty HttpClient that uses port 80 and has no proxy.

```java readme-sample-createBasicClient
SdkMeterProvider otelMeterProvider = SdkMeterProvider.builder()
.registerMetricReader(PeriodicMetricReader.builder(OtlpGrpcMetricExporter.builder().build()).build())
.build();

OpenTelemetry openTelemetry = OpenTelemetrySdk.builder()
.setMeterProvider(otelMeterProvider)
.setPropagators(ContextPropagators.create(W3CTraceContextPropagator.getInstance()))
.buildAndRegisterGlobal();
HttpClient client = new NettyAsyncHttpClientBuilder().build();
```

### Create a Client with Proxy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public class Configuration implements Cloneable {
public static final String PROPERTY_AZURE_TRACING_DISABLED = "AZURE_TRACING_DISABLED";

/**
* Disables tracing.
* Disables metrics.
*/
public static final String PROPERTY_AZURE_METRICS_DISABLED = "AZURE_METRICS_DISABLED";

Expand Down
6 changes: 0 additions & 6 deletions sdk/core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
<module>azure-core-test</module>
<module>azure-core-tracing-opentelemetry</module>
<module>azure-core-metrics-opentelemetry</module>
<module>azure-core-metrics-micrometer</module>
</modules>

<dependencies>
Expand Down Expand Up @@ -96,11 +95,6 @@
<artifactId>azure-core-metrics-opentelemetry</artifactId>
<version>1.0.0-beta.1</version> <!-- {x-version-update;com.azure:azure-core-metrics-opentelemetry;current} -->
</dependency>
<dependency>
<groupId>com.azure</groupId>
<artifactId>azure-core-metrics-micrometer</artifactId>
<version>1.0.0-beta.1</version> <!-- {x-version-update;com.azure:azure-core-metrics-micrometer;current} -->
</dependency>
</dependencies>

<build>
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 5ddd16a

Please sign in to comment.