Skip to content

Commit

Permalink
currency: add tempo service
Browse files Browse the repository at this point in the history
Signed-off-by: Victor Login <batazor111@gmail.com>
  • Loading branch information
batazor committed Sep 29, 2024
1 parent 4d15761 commit 6c43047
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion boundaries/billing/currency/ops/Makefile/dev.mk
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ up: ## Run for development mode
-f $(ROOT_DIR)/docker-compose.yaml \
-f $(ROOT_DIR)/ops/docker-compose/tooling/services/coredns/coredns.yaml \
-f $(ROOT_DIR)/ops/docker-compose/database/redis/redis.yaml \
-f $(ROOT_DIR)/ops/docker-compose/tooling/observability/grafana/grafana-tempo.yaml \
up -d --remove-orphans --build

down: confirm ## Down docker compose
@COMPOSE_PROFILES=dns,observability,gateway docker compose \
-f $(ROOT_DIR)/docker-compose.yaml \
-f $(ROOT_DIR)/ops/docker-compose/tooling/services/coredns/coredns.yaml \
-f $(ROOT_DIR)/ops/docker-compose/database/redis/redis.yaml \
-f $(ROOT_DIR)/ops/docker-compose/tooling/observability/grafana/grafana-tempo.yaml \
down --remove-orphans
@docker network prune -f

Expand All @@ -25,4 +27,4 @@ lint: ## Lint code

### Testing ============================================================================================================
test: ## Run tests
@cargo test
@cargo test
4 changes: 2 additions & 2 deletions boundaries/billing/currency/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use std::sync::Arc;
use deadpool_redis::Metrics;
use dotenvy::dotenv;
use tokio_cron_scheduler::{Job, JobScheduler};
use tracing::{error, info, instrument};
use tracing::{error, instrument};
use tracing_subscriber::prelude::*;
use tracing_subscriber::{fmt, EnvFilter, Registry};
use opentelemetry::{global, KeyValue};
Expand All @@ -26,7 +26,7 @@ use opentelemetry_sdk::runtime::Tokio;
use serde::de::Error;
use tracing_subscriber::fmt::format::FmtSpan;
use spandoc::spandoc;

use tracing::log::info;
// Import service modules
use crate::cache::CacheService;
use crate::infrastructure::http::routes::api;
Expand Down

0 comments on commit 6c43047

Please sign in to comment.