-
Notifications
You must be signed in to change notification settings - Fork 207
Expand file tree
/
Copy pathbuild.gradle
More file actions
40 lines (32 loc) · 1.18 KB
/
build.gradle
File metadata and controls
40 lines (32 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
plugins {
id 'java'
id 'application'
}
repositories {
mavenCentral()
}
dependencies {
// OpenInference annotation-based tracing
implementation project(path: ':instrumentation:openinference-instrumentation-annotation')
// OpenTelemetry
implementation "io.opentelemetry:opentelemetry-sdk"
implementation "io.opentelemetry:opentelemetry-exporter-otlp"
implementation "io.opentelemetry:opentelemetry-exporter-logging"
// Logging
implementation "org.slf4j:slf4j-simple:${slf4jVersion}"
}
application {
mainClass = 'com.arize.examples.annotation.annotationDemo'
}
// To export traces to Phoenix (local or Phoenix Cloud), uncomment and configure:
// run {
// environment 'PHOENIX_COLLECTOR_ENDPOINT', 'http://localhost:6006' // or https://app.phoenix.arize.com
// environment 'PHOENIX_API_KEY', 'your phoenix api key' // required for Phoenix Cloud
// environment 'PROJECT_NAME', 'annotation-example'
// }
// To export traces to Arize, uncomment and configure:
// run {
// environment 'ARIZE_API_KEY', 'your api key'
// environment 'ARIZE_SPACE_ID', 'your space id'
// environment 'PROJECT_NAME', 'annotation-example'
// }