Skip to content
This repository was archived by the owner on Jun 27, 2024. It is now read-only.

Commit 858efcf

Browse files
committed
Add missing logs and errors
1 parent 48a961a commit 858efcf

14 files changed

+132
-47
lines changed

Diff for: .gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -306,4 +306,3 @@ exclusive.lck
306306
.vscode
307307
version.txt
308308
/public/
309-
NuGet.config

Diff for: Bookings.Domain/Bookings.Domain.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@
33
<PackageReference Include="Eventuous" Version="$(EventuousVersion)" />
44
<PackageReference Include="NodaTime" Version="3.0.9" />
55
</ItemGroup>
6+
<ItemGroup>
7+
<!-- <ProjectReference Include="..\..\..\ubiquitous\eventuous\dotnet\src\Core\src\Eventuous\Eventuous.csproj" />-->
8+
</ItemGroup>
69
</Project>

Diff for: Bookings.Payments/Bookings.Payments.csproj

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
<PackageReference Include="Eventuous.Diagnostics.OpenTelemetry" Version="$(EventuousVersion)" />
88
<PackageReference Include="Eventuous.Projections.MongoDB" Version="$(EventuousVersion)" />
99
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.1.5" />
10-
<PackageReference Include="OpenTelemetry.Exporter.Zipkin" Version="1.2.0-beta1" />
10+
<PackageReference Include="OpenTelemetry.Exporter.Prometheus" Version="1.2.0-beta2.1" />
11+
<PackageReference Include="OpenTelemetry.Exporter.Zipkin" Version="1.2.0-beta2.1" />
1112
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.0.0-rc8" />
1213
<PackageReference Include="OpenTelemetry.Instrumentation.GrpcNetClient" Version="1.0.0-rc8" />
1314
<PackageReference Include="Serilog.Sinks.Console" Version="4.0.0" />

Diff for: Bookings.Payments/Program.cs

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
app.UseSwaggerUI();
2828
}
2929

30+
app.UseOpenTelemetryPrometheusScrapingEndpoint();
3031
app.MapControllers();
3132

3233
app.Run();

Diff for: Bookings.Payments/Registrations.cs

+8-1
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
using Bookings.Payments.Domain;
33
using Bookings.Payments.Infrastructure;
44
using Bookings.Payments.Integration;
5-
using Eventuous;
65
using Eventuous.Diagnostics.OpenTelemetry;
76
using Eventuous.EventStore;
87
using Eventuous.EventStore.Producers;
98
using Eventuous.EventStore.Subscriptions;
109
using Eventuous.Producers;
1110
using Eventuous.Projections.MongoDB;
11+
using OpenTelemetry.Metrics;
1212
using OpenTelemetry.Resources;
1313
using OpenTelemetry.Trace;
1414

@@ -31,6 +31,13 @@ public static void AddServices(this IServiceCollection services) {
3131
}
3232

3333
public static void AddOpenTelemetry(this IServiceCollection services) {
34+
services.AddOpenTelemetryMetrics(
35+
builder => builder
36+
.AddAspNetCoreInstrumentation()
37+
.AddEventuous()
38+
.AddEventuousSubscriptions()
39+
.AddPrometheusExporter()
40+
);
3441
services.AddOpenTelemetryTracing(
3542
builder => builder
3643
.AddAspNetCoreInstrumentation()

Diff for: Bookings.sln

+53
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,22 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bookings.Domain", "Bookings
66
EndProject
77
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bookings.Payments", "Bookings.Payments\Bookings.Payments.csproj", "{EBD8B561-B354-4FDB-BF88-0BF0681F5530}"
88
EndProject
9+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Eventuous", "Eventuous", "{96C63445-26D2-4037-B3FF-05CCA67F99DF}"
10+
EndProject
11+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Eventuous", "..\..\ubiquitous\eventuous\dotnet\src\Core\src\Eventuous\Eventuous.csproj", "{F1B7997C-8E30-4FA7-94A5-DB3592900609}"
12+
EndProject
13+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Eventuous.AspNetCore", "..\..\ubiquitous\eventuous\dotnet\src\Core\src\Eventuous.AspNetCore\Eventuous.AspNetCore.csproj", "{7E470BB5-CA9D-4547-9084-9DA32FB6A535}"
14+
EndProject
15+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Eventuous.EventStore", "..\..\ubiquitous\eventuous\dotnet\src\EventStore\src\Eventuous.EventStore\Eventuous.EventStore.csproj", "{1C81AB49-55F3-44D8-A1E4-346941774F59}"
16+
EndProject
17+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Eventuous.Diagnostics.OpenTelemetry", "..\..\ubiquitous\eventuous\dotnet\src\Diagnostics\src\Eventuous.Diagnostics.OpenTelemetry\Eventuous.Diagnostics.OpenTelemetry.csproj", "{B98B602A-204E-4C80-95EB-C0D257905C55}"
18+
EndProject
19+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Eventuous.Subscriptions", "..\..\ubiquitous\eventuous\dotnet\src\Core\src\Eventuous.Subscriptions\Eventuous.Subscriptions.csproj", "{CD867F69-737E-4061-9959-9598A0B23C17}"
20+
EndProject
21+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Eventuous.Projections.MongoDB", "..\..\ubiquitous\eventuous\dotnet\src\Mongo\src\Eventuous.Projections.MongoDB\Eventuous.Projections.MongoDB.csproj", "{1AC594B0-D36F-4EF1-8FF0-87F2181C6C44}"
22+
EndProject
23+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Eventuous.Diagnostics", "..\..\ubiquitous\eventuous\dotnet\src\Diagnostics\src\Eventuous.Diagnostics\Eventuous.Diagnostics.csproj", "{99D9F63D-53BA-4C71-A595-08460F4AB008}"
24+
EndProject
925
Global
1026
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1127
Debug|Any CPU = Debug|Any CPU
@@ -24,5 +40,42 @@ Global
2440
{EBD8B561-B354-4FDB-BF88-0BF0681F5530}.Debug|Any CPU.Build.0 = Debug|Any CPU
2541
{EBD8B561-B354-4FDB-BF88-0BF0681F5530}.Release|Any CPU.ActiveCfg = Release|Any CPU
2642
{EBD8B561-B354-4FDB-BF88-0BF0681F5530}.Release|Any CPU.Build.0 = Release|Any CPU
43+
{F1B7997C-8E30-4FA7-94A5-DB3592900609}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
44+
{F1B7997C-8E30-4FA7-94A5-DB3592900609}.Debug|Any CPU.Build.0 = Debug|Any CPU
45+
{F1B7997C-8E30-4FA7-94A5-DB3592900609}.Release|Any CPU.ActiveCfg = Release|Any CPU
46+
{F1B7997C-8E30-4FA7-94A5-DB3592900609}.Release|Any CPU.Build.0 = Release|Any CPU
47+
{7E470BB5-CA9D-4547-9084-9DA32FB6A535}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
48+
{7E470BB5-CA9D-4547-9084-9DA32FB6A535}.Debug|Any CPU.Build.0 = Debug|Any CPU
49+
{7E470BB5-CA9D-4547-9084-9DA32FB6A535}.Release|Any CPU.ActiveCfg = Release|Any CPU
50+
{7E470BB5-CA9D-4547-9084-9DA32FB6A535}.Release|Any CPU.Build.0 = Release|Any CPU
51+
{1C81AB49-55F3-44D8-A1E4-346941774F59}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
52+
{1C81AB49-55F3-44D8-A1E4-346941774F59}.Debug|Any CPU.Build.0 = Debug|Any CPU
53+
{1C81AB49-55F3-44D8-A1E4-346941774F59}.Release|Any CPU.ActiveCfg = Release|Any CPU
54+
{1C81AB49-55F3-44D8-A1E4-346941774F59}.Release|Any CPU.Build.0 = Release|Any CPU
55+
{B98B602A-204E-4C80-95EB-C0D257905C55}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
56+
{B98B602A-204E-4C80-95EB-C0D257905C55}.Debug|Any CPU.Build.0 = Debug|Any CPU
57+
{B98B602A-204E-4C80-95EB-C0D257905C55}.Release|Any CPU.ActiveCfg = Release|Any CPU
58+
{B98B602A-204E-4C80-95EB-C0D257905C55}.Release|Any CPU.Build.0 = Release|Any CPU
59+
{CD867F69-737E-4061-9959-9598A0B23C17}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
60+
{CD867F69-737E-4061-9959-9598A0B23C17}.Debug|Any CPU.Build.0 = Debug|Any CPU
61+
{CD867F69-737E-4061-9959-9598A0B23C17}.Release|Any CPU.ActiveCfg = Release|Any CPU
62+
{CD867F69-737E-4061-9959-9598A0B23C17}.Release|Any CPU.Build.0 = Release|Any CPU
63+
{1AC594B0-D36F-4EF1-8FF0-87F2181C6C44}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
64+
{1AC594B0-D36F-4EF1-8FF0-87F2181C6C44}.Debug|Any CPU.Build.0 = Debug|Any CPU
65+
{1AC594B0-D36F-4EF1-8FF0-87F2181C6C44}.Release|Any CPU.ActiveCfg = Release|Any CPU
66+
{1AC594B0-D36F-4EF1-8FF0-87F2181C6C44}.Release|Any CPU.Build.0 = Release|Any CPU
67+
{99D9F63D-53BA-4C71-A595-08460F4AB008}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
68+
{99D9F63D-53BA-4C71-A595-08460F4AB008}.Debug|Any CPU.Build.0 = Debug|Any CPU
69+
{99D9F63D-53BA-4C71-A595-08460F4AB008}.Release|Any CPU.ActiveCfg = Release|Any CPU
70+
{99D9F63D-53BA-4C71-A595-08460F4AB008}.Release|Any CPU.Build.0 = Release|Any CPU
71+
EndGlobalSection
72+
GlobalSection(NestedProjects) = preSolution
73+
{F1B7997C-8E30-4FA7-94A5-DB3592900609} = {96C63445-26D2-4037-B3FF-05CCA67F99DF}
74+
{7E470BB5-CA9D-4547-9084-9DA32FB6A535} = {96C63445-26D2-4037-B3FF-05CCA67F99DF}
75+
{1C81AB49-55F3-44D8-A1E4-346941774F59} = {96C63445-26D2-4037-B3FF-05CCA67F99DF}
76+
{B98B602A-204E-4C80-95EB-C0D257905C55} = {96C63445-26D2-4037-B3FF-05CCA67F99DF}
77+
{CD867F69-737E-4061-9959-9598A0B23C17} = {96C63445-26D2-4037-B3FF-05CCA67F99DF}
78+
{1AC594B0-D36F-4EF1-8FF0-87F2181C6C44} = {96C63445-26D2-4037-B3FF-05CCA67F99DF}
79+
{99D9F63D-53BA-4C71-A595-08460F4AB008} = {96C63445-26D2-4037-B3FF-05CCA67F99DF}
2780
EndGlobalSection
2881
EndGlobal
+15-20
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using Eventuous.Projections.MongoDB;
2-
using Eventuous.Subscriptions.Context;
32
using MongoDB.Driver;
43
using static Bookings.Domain.Bookings.BookingEvents;
54

@@ -9,31 +8,27 @@ namespace Bookings.Application.Queries;
98

109
public class BookingStateProjection : MongoProjection<BookingDocument> {
1110
public BookingStateProjection(IMongoDatabase database) : base(database) {
12-
On<V1.RoomBooked>(HandleRoomBooked);
11+
On<V1.RoomBooked>(evt => evt.BookingId, HandleRoomBooked);
1312

1413
On<V1.PaymentRecorded>(
15-
ctx
16-
=> UpdateOperationTask(
17-
ctx.Message.BookingId,
18-
update => update.Set(x => x.Outstanding, ctx.Message.Outstanding)
19-
)
14+
evt => evt.BookingId,
15+
(evt, update) => update.Set(x => x.Outstanding, evt.Outstanding)
2016
);
2117

2218
On<V1.BookingFullyPaid>(
23-
ctx
24-
=> UpdateOperationTask(ctx.Message.BookingId, update => update.Set(x => x.Paid, true))
19+
evt => evt.BookingId,
20+
(_, update) => update.Set(x => x.Paid, true)
2521
);
2622
}
2723

28-
ValueTask<Operation<BookingDocument>> HandleRoomBooked(MessageConsumeContext<V1.RoomBooked> ctx)
29-
=> UpdateOperationTask(
30-
ctx.Message.BookingId,
31-
update => update.SetOnInsert(x => x.Id, ctx.Message.BookingId)
32-
.Set(x => x.GuestId, ctx.Message.GuestId)
33-
.Set(x => x.RoomId, ctx.Message.RoomId)
34-
.Set(x => x.CheckInDate, ctx.Message.CheckInDate)
35-
.Set(x => x.CheckOutDate, ctx.Message.CheckOutDate)
36-
.Set(x => x.BookingPrice, ctx.Message.BookingPrice)
37-
.Set(x => x.Outstanding, ctx.Message.OutstandingAmount)
38-
);
24+
static UpdateDefinition<BookingDocument> HandleRoomBooked(
25+
V1.RoomBooked evt, UpdateDefinitionBuilder<BookingDocument> update
26+
)
27+
=> update.SetOnInsert(x => x.Id, evt.BookingId)
28+
.Set(x => x.GuestId, evt.GuestId)
29+
.Set(x => x.RoomId, evt.RoomId)
30+
.Set(x => x.CheckInDate, evt.CheckInDate)
31+
.Set(x => x.CheckOutDate, evt.CheckOutDate)
32+
.Set(x => x.BookingPrice, evt.BookingPrice)
33+
.Set(x => x.Outstanding, evt.OutstandingAmount);
3934
}

Diff for: Bookings/Application/Queries/MyBookingsProjection.cs

+5-13
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,11 @@ namespace Bookings.Application.Queries;
77
public class MyBookingsProjection : MongoProjection<MyBookings> {
88
public MyBookingsProjection(IMongoDatabase database) : base(database) {
99
On<V1.RoomBooked>(
10-
ctx =>
11-
UpdateOperationTask(
12-
ctx.Message.GuestId,
13-
update => update.AddToSet(
14-
x => x.Bookings,
15-
new MyBookings.Booking(
16-
ctx.Message.BookingId,
17-
ctx.Message.CheckInDate,
18-
ctx.Message.CheckOutDate,
19-
ctx.Message.BookingPrice
20-
)
21-
)
22-
)
10+
evt => evt.GuestId,
11+
(evt, update) => update.AddToSet(
12+
x => x.Bookings,
13+
new MyBookings.Booking(evt.BookingId, evt.CheckInDate, evt.CheckOutDate, evt.BookingPrice)
14+
)
2315
);
2416
}
2517
}

Diff for: Bookings/Bookings.csproj

+7-2
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,21 @@
77
<PackageReference Include="MongoDb.Bson.NodaTime" Version="3.0.0" />
88
<PackageReference Include="MongoDB.Driver.Core.Extensions.OpenTelemetry" Version="1.0.0" />
99
<PackageReference Include="NodaTime.Serialization.SystemTextJson" Version="1.0.0" />
10-
<PackageReference Include="OpenTelemetry.Exporter.Prometheus" Version="1.2.0-beta1" />
11-
<PackageReference Include="OpenTelemetry.Exporter.Zipkin" Version="1.2.0-beta1" />
10+
<PackageReference Include="OpenTelemetry.Exporter.Prometheus" Version="1.2.0-beta2.1" />
11+
<PackageReference Include="OpenTelemetry.Exporter.Zipkin" Version="1.2.0-beta2.1" />
1212
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.0.0-rc8" />
1313
<PackageReference Include="OpenTelemetry.Instrumentation.GrpcNetClient" Version="1.0.0-rc8" />
1414
<PackageReference Include="Serilog.Sinks.Console" Version="4.0.0" />
1515
<PackageReference Include="Serilog.Extensions.Hosting" Version="4.2.0" />
16+
<PackageReference Include="Serilog.Sinks.Seq" Version="5.1.0" />
1617
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.2.3" />
1718
</ItemGroup>
1819

1920
<ItemGroup>
21+
<!-- <ProjectReference Include="..\..\..\ubiquitous\eventuous\dotnet\src\Core\src\Eventuous.AspNetCore\Eventuous.AspNetCore.csproj" />-->
22+
<!-- <ProjectReference Include="..\..\..\ubiquitous\eventuous\dotnet\src\Diagnostics\src\Eventuous.Diagnostics.OpenTelemetry\Eventuous.Diagnostics.OpenTelemetry.csproj" />-->
23+
<!-- <ProjectReference Include="..\..\..\ubiquitous\eventuous\dotnet\src\EventStore\src\Eventuous.EventStore\Eventuous.EventStore.csproj" />-->
24+
<!-- <ProjectReference Include="..\..\..\ubiquitous\eventuous\dotnet\src\Mongo\src\Eventuous.Projections.MongoDB\Eventuous.Projections.MongoDB.csproj" />-->
2025
<ProjectReference Include="..\Bookings.Domain\Bookings.Domain.csproj" />
2126
</ItemGroup>
2227
</Project>

Diff for: Bookings/Program.cs

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using Bookings;
22
using Bookings.Domain.Bookings;
3-
using Bookings.Infrastructure;
43
using Eventuous;
54
using Eventuous.AspNetCore;
65
using NodaTime;
@@ -14,8 +13,11 @@
1413
.MinimumLevel.Debug()
1514
.MinimumLevel.Override("Microsoft", LogEventLevel.Information)
1615
.MinimumLevel.Override("Grpc", LogEventLevel.Information)
16+
.MinimumLevel.Override("Grpc.Net.Client.Internal.GrpcCall", LogEventLevel.Error)
17+
.MinimumLevel.Override("Microsoft.AspNetCore.Mvc.Infrastructure", LogEventLevel.Warning)
1718
.Enrich.FromLogContext()
1819
.WriteTo.Console()
20+
.WriteTo.Seq("http://localhost:5341")
1921
.CreateLogger();
2022

2123
var builder = WebApplication.CreateBuilder(args);

Diff for: Bookings/Registrations.cs

+13-1
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
1+
using System.Text.Json;
12
using Bookings.Application;
23
using Bookings.Application.Queries;
34
using Bookings.Domain;
45
using Bookings.Domain.Bookings;
56
using Bookings.Infrastructure;
67
using Bookings.Integration;
8+
using Eventuous;
79
using Eventuous.Diagnostics.OpenTelemetry;
8-
using Eventuous.Diagnostics.OpenTelemetry.Subscriptions;
910
using Eventuous.EventStore;
1011
using Eventuous.EventStore.Subscriptions;
1112
using Eventuous.Projections.MongoDB;
13+
using Eventuous.Subscriptions.Registrations;
14+
using NodaTime;
15+
using NodaTime.Serialization.SystemTextJson;
1216
using OpenTelemetry.Metrics;
1317
using OpenTelemetry.Resources;
1418
using OpenTelemetry.Trace;
@@ -17,6 +21,12 @@ namespace Bookings;
1721

1822
public static class Registrations {
1923
public static void AddEventuous(this IServiceCollection services) {
24+
DefaultEventSerializer.SetDefaultSerializer(
25+
new DefaultEventSerializer(
26+
new JsonSerializerOptions(JsonSerializerDefaults.Web).ConfigureForNodaTime(DateTimeZoneProviders.Tzdb)
27+
)
28+
);
29+
2030
services.AddEventStoreClient("esdb://localhost:2113?tls=false");
2131
services.AddAggregateStore<EsdbEventStore>();
2232
services.AddApplicationService<BookingsCommandService, Booking>();
@@ -33,6 +43,7 @@ public static void AddEventuous(this IServiceCollection services) {
3343
builder => builder
3444
.AddEventHandler<BookingStateProjection>()
3545
.AddEventHandler<MyBookingsProjection>()
46+
.WithPartitioningByStream(2)
3647
);
3748

3849
services.AddSubscription<StreamSubscription, StreamSubscriptionOptions>(
@@ -47,6 +58,7 @@ public static void AddOpenTelemetry(this IServiceCollection services) {
4758
services.AddOpenTelemetryMetrics(
4859
builder => builder
4960
.AddAspNetCoreInstrumentation()
61+
.AddEventuous()
5062
.AddEventuousSubscriptions()
5163
.AddPrometheusExporter()
5264
);

Diff for: Directory.Build.props

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
<TargetFramework>net6.0</TargetFramework>
44
<ImplicitUsings>enable</ImplicitUsings>
55
<Nullable>enable</Nullable>
6-
<EventuousVersion>0.6.0-rc.3</EventuousVersion>
6+
<EventuousVersion>0.6.0-rc.7.9</EventuousVersion>
77
</PropertyGroup>
88
</Project>

Diff for: NuGet.config

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<packageSources>
4+
<clear />
5+
<add key="nuget" value="https://api.nuget.org/v3/index.json" />
6+
<add key="myget" value="https://www.myget.org/F/eventuous/api/v3/index.json" />
7+
</packageSources>
8+
</configuration>

Diff for: docker-compose.yml

+13-6
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: '3.7'
33
services:
44

55
esdb:
6-
container_name: infozone-esdb
6+
container_name: esdemo-esdb
77
image: eventstore/eventstore:latest #20.10.2-buster-slim
88
ports:
99
- '2113:2113'
@@ -19,7 +19,7 @@ services:
1919
EVENTSTORE_ENABLE_ATOM_PUB_OVER_HTTP: "true"
2020

2121
mongo:
22-
container_name: infozone-mongo
22+
container_name: esdemo-mongo
2323
image: mongo
2424
ports:
2525
- '27017:27017'
@@ -29,17 +29,17 @@ services:
2929

3030
zipkin:
3131
image: openzipkin/zipkin
32-
container_name: infozone-zipkin
32+
container_name: esdemo-zipkin
3333
ports:
3434
- "9411:9411"
3535

3636
prometheus:
37-
container_name: infozone-prometheus
37+
container_name: esdemo-prometheus
3838
image: prom/prometheus:v2.17.1
3939
ports:
4040
- "9090:9090"
4141
volumes:
42-
- ./prometheus.yml:/etc/prometheus/prometheus.yml
42+
- ./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
4343

4444
# grafana:
4545
# container_name: infozone-grafana
@@ -50,6 +50,13 @@ services:
5050
# - ./grafana/datasources.yml:/etc/grafana/provisioning/datasources/prometheus.yaml
5151
# - ./grafana/dashboards:/dashboards
5252

53+
seq:
54+
image: datalust/seq:latest
55+
environment:
56+
- ACCEPT_EULA=Y
57+
ports:
58+
- "5341:80"
59+
5360
networks:
5461
default:
55-
name: infozone-network
62+
name: eventuous-demo

0 commit comments

Comments
 (0)