Skip to content

Commit

Permalink
added collector
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryce Coon committed Apr 9, 2024
2 parents 94c9973 + 8ab1713 commit 9f2898c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/brycerunner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,17 @@ jobs:
ls -la
docker build -t 144.17.92.12:5000/bryce2/blazor-web:1 .
docker push 144.17.92.12:5000/bryce2/blazor-web:1
<<<<<<< HEAD
kubectl -n bryce2 create configmap blazor-web-postgres-init --from-file=20240215.01.21.01.sql

cd kube-configs
kubectl -n bryce2 delete configmap otel-config || true
kubectl -n bryce2 create configmap blazor-web-postgres-init --from-file=./otel/otel.yml
cd ../..

=======
# kubectl -n bryce2 create configmap blazor-web-postgres-init --from-file=TestTicket/20240215.01.21.01.sql
>>>>>>> 8ab17132c7118ac217039e9f6109187369faed12
kubectl apply -f kube/


Expand Down
2 changes: 1 addition & 1 deletion BlazorTickets/bryceMetrics.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ public static class bryceMetrics
//Histogram
public static Histogram<int> histogram = Meter.CreateHistogram<int>("histogramCount", "1.0.0");


//to make the push work
}
1 change: 1 addition & 0 deletions BryceDocker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ services:
# networks:
# - otel

#something

bryceblazorapp:
build: ..
Expand Down
4 changes: 3 additions & 1 deletion kube/web-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,7 @@ spec:
ports:
- containerPort: 8080
env:
- name: MYDATABASECONNECTIONSTRING
- name: ASPNETCORE_ENVIRONMENT
value: Development
- name: Postgres
value: Server=blazor-web-db-service;password=postgres;user id=postgres;database=postgres;

0 comments on commit 9f2898c

Please sign in to comment.