Skip to content

Commit

Permalink
update doc (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
xavierjohn committed Mar 29, 2024
1 parent 5370525 commit 4692419
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,6 @@ Difference between ServiceLevelIndicator and http.server.request.duration

builder.Services.AddServiceLevelIndicator(options =>
{
// Override with calling service id or customer Id.
options.CustomerResourceId = ServiceLevelIndicator.CreateCustomerResourceId(serviceId);
options.LocationId = ServiceLevelIndicator.CreateLocationId("public", "westus2");
})
.AddMvc();
Expand Down Expand Up @@ -162,8 +160,6 @@ Difference between ServiceLevelIndicator and http.server.request.duration

builder.Services.AddServiceLevelIndicator(options =>
{
// Override with calling service id or customer resource Id.
options.CustomerResourceId = ServiceLevelIndicator.CreateCustomerResourceId(serviceId);
options.LocationId = ServiceLevelIndicator.CreateLocationId("public", "westus2");
});

Expand Down
1 change: 1 addition & 0 deletions sample/GenerateSli/GenerateSli.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
</PropertyGroup>

</Project>

0 comments on commit 4692419

Please sign in to comment.