Skip to content

Commit 709bf20

Browse files
committed
Use default traewelling api
1 parent 1727542 commit 709bf20

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "traewelling-exporter"
3-
version = "0.1.1"
3+
version = "0.1.2"
44
authors = ["Marie Ramlow <me@nycode.dev>"]
55
publish = false
66
edition = "2021"

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@ RUN cargo build --release
1515

1616
FROM scratch AS runtime
1717
WORKDIR /app
18+
EXPOSE 3000
1819
COPY --from=builder /app/target/release/traewelling-exporter /
1920
ENTRYPOINT ["/traewelling-exporter"]

src/main.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ async fn main() {
4444
let metrics = create_metrics();
4545

4646
let client = TraewellingClient::builder()
47-
.with_base_url(Url::parse("http://localhost:8000/api/v1").unwrap())
4847
.with_token(std::env::var("TRAEWELLING_TOKEN").ok())
4948
.build();
5049

0 commit comments

Comments
 (0)