Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions Examples/OTLP Exporter/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ version: "3"
services:
# Collector
collector:
image: otel/opentelemetry-collector:0.137.0@sha256:089a8b3c81d328a190f6f0740b30c15b0c7f1f2cfeadeb810355574d5158b31c
platform: linux/amd64
image: otel/opentelemetry-collector:0.137.0
# The latest image of the otel-collector may not work, so specifying the version that works with this release
# image: otel/opentelemetry-collector:latest
command: ["--config=/conf/collector-config.yaml"]
Expand All @@ -17,14 +18,16 @@ services:

# Zipkin
zipkin-all-in-one:
image: openzipkin/zipkin:latest@sha256:bb570eb45c2994eaf32da783cc098b3d51d1095b73ec92919863d73d0a9eaafb
platform: linux/amd64
image: openzipkin/zipkin:latest
ports:
- "9411:9411"

# Prometheus
prometheus:
platform: linux/amd64
container_name: prometheus
image: prom/prometheus:latest@sha256:ff7e389acbe064a4823212a500393d40a28a8f362e4b05cbf6742a9a3ef736b2
image: prom/prometheus:latest
volumes:
- ./prometheus.yaml:/etc/prometheus/prometheus.yml
ports:
Expand Down
149 changes: 0 additions & 149 deletions Package.resolved

This file was deleted.

7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,17 +74,17 @@ Metrics is implemented using an outdated spec, is fully functional but will chan

#### Traces

* Exporters: Stdout, Jaeger, Zipkin, Datadog and OpenTelemetry (OTLP) collector
* Exporters: Stdout, Jaeger, Zipkin and OpenTelemetry (OTLP) grpc/http
* Importers: OpenTracingShim

#### Metrics

* Exporters: Prometheus, Datadog, and OpenTelemetry (OTLP) collector
* Exporters: Prometheus and OpenTelemetry (OTLP) grpc/http
* Importers: SwiftMetricsShim

#### Logs

* Exporters: OpenTelemetry (OTLP) collector
* Exporters: OpenTelemetry (OTLP) grpc/http

> **_NOTE:_** OTLP exporters are supported both in GRPC and HTTP, only GRPC is production ready, HTTP is still experimental

Expand All @@ -104,7 +104,6 @@ In addition to the specified OpenTelemetry exporters, some third-party exporters

The package includes some example projects with basic functionality:

* `Datadog Sample` - Shows the Datadog exporter used with a Simple Exporter, showing how to configure for sending.
* `Logging Tracer` - Simple api implementation of a Tracer that logs every api call
* `Network Tracer` - Shows how to use the `URLSessionInstrumentation` instrumentation in your application
* `Simple Exporter` - Shows the Jaeger an Stdout exporters in action using a MultiSpanExporter. Can be easily modified for other exporters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ class OtlpHttpTraceExporterTests: XCTestCase {
}

// This is not a thorough test of HTTPClient, but just enough to keep code coverage happy.
// There is a more complete test as part of the DataDog exporter test
func testHttpClient() {
// Clear any previous requests
testServer.clearReceivedRequests()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import XCTest
}

init() {
let subdirectoryName = "com.datadoghq.ios-sdk-tests-\(UUID().uuidString)"
let subdirectoryName = "io.opentelemetry.ios-sdk-tests-\(UUID().uuidString)"
let osTemporaryDirectoryURL = URL(fileURLWithPath: NSTemporaryDirectory(), isDirectory: true).appendingPathComponent(subdirectoryName, isDirectory: true)
directory = Directory(url: osTemporaryDirectoryURL)
}
Expand Down
Loading