Commit graph

217 commits

Author SHA1 Message Date
renovate[bot]
7062928c32
chore(deps): update opentelemetry-dotnet monorepo to v1.8.1 2024-04-13 03:38:50 +00:00
renovate[bot]
76f74dabbe
chore(deps): update dependency markdig.signed to v0.37.0 2024-04-09 19:54:33 +00:00
Sebastian Göls
9016a5109d
Fix monitoring integration with actual prometheus (#3183)
* Downgrade OpenTelemetry.Exporter.Prometheus.AspNetCore due to issues with latest version

* Add unit to asf_bot_farming_minutes_remaining

* Upgrade some packages released last night (already tested to work)

* Don't forget about unit suffix

* Add build and runtime information metrics

It is not recommended to include this information as labels in all
metrics. Instead, we add two special metrics with a constant value of
"1" and restrict those static pieces of information to them

* Remove module version from metrics as it does not work

* Apply feedback

* Deduplicate code

* Reference related issue in upstream repo
2024-04-07 23:56:44 +02:00
renovate[bot]
3b2bb0590f
chore(deps): update opentelemetry-dotnet monorepo to v1.8.0 2024-04-06 13:14:22 +00:00
renovate[bot]
134d3e2d0d
chore(deps): update dependency opentelemetry.instrumentation.runtime to v1.8.0 2024-04-06 11:22:56 +00:00
renovate[bot]
3992ea6656
chore(deps): update dependency microsoft.identitymodel.jsonwebtokens to v7.5.1 2024-04-06 03:04:47 +00:00
renovate[bot]
c5799c561a
chore(deps): update dependency mstest to v3.3.1 2024-04-05 04:44:28 +00:00
renovate[bot]
5bdaec6980
chore(deps): update dependency mstest to v3.3.0 2024-04-04 03:20:35 +00:00
renovate[bot]
44dec3ab3f
chore(deps): update dependency opentelemetry.extensions.hosting to v1.8.0 2024-04-03 04:19:18 +00:00
renovate[bot]
497da6487d
chore(deps): update dependency anglesharp.xpath to v2.0.4 2024-04-01 23:24:14 +00:00
renovate[bot]
a9d0092bd2
chore(deps): update opentelemetry-dotnet monorepo to v1.8.0-rc.1 2024-03-28 11:46:37 +00:00
renovate[bot]
d3957b5604
chore(deps): update dependency microsoft.identitymodel.jsonwebtokens to v7.5.0 2024-03-27 04:15:12 +00:00
Sebastian Göls
f9f6e207d4
Add official monitoring plugin (#3160)
* Add Monitoring plugin

* Prepare pipeline

* Fix Rider stupidity

* Fix Windows build

* Remove translation files

* Apply feedback

* Add steam id as additional tag to metrics

* Apply feedback

* Add runtime metrics

* Fix my brain not braining

* Use extension methods to add instrumentation and Add monitoring for outbound HTTP traffic

* Upgrade OpenTelemetry.Extensions.Hosting to prerelease due to runtime exception

* Remove config and add file that was supposed to be committed yesterday to fix the runtime exception

* Revert changes to publish.yml

* Remove localization

* Apply feedback

* Apply feedback

* Fix version number

* Revert use of property in Kestrel (even tho it's an outside caller to the source class)
2024-03-25 22:58:03 +01:00
Archi
04b534bda1
SK2 3.0 2024-03-19 12:40:54 +01:00
renovate[bot]
c874779c0d
chore(deps): update dependency microsoft.identitymodel.jsonwebtokens to v7.4.1 2024-03-16 00:47:06 +00:00
renovate[bot]
19eefff525
chore(deps): update dependency markdig.signed to v0.36.2 2024-03-14 19:16:09 +00:00
renovate[bot]
25fa5cabbb
chore(deps): update dependency markdig.signed to v0.36.0 2024-03-14 11:13:36 +00:00
renovate[bot]
a93ca58e9c
chore(deps): update dependency microsoft.identitymodel.jsonwebtokens to v7.4.0 2024-02-27 23:03:52 +00:00
Archi
6c9e9da740
Modernize unit tests 2024-02-22 16:08:54 +01:00
Łukasz Domeradzki
6b0bf0f9c1
Closes #3061 (#3145)
* Good start

* Misc

* Make ApiAuthenticationMiddleware use new json

* Remove first newtonsoft dependency

* Pull latest ASFB json enhancements

* Start reimplementing newtonsoft!

* One thing at a time

* Keep doing all kind of breaking changes which need to be tested later

* Add back ShouldSerialize() support

* Misc

* Eradicate remaining parts of newtonsoft

* WIP

* Workaround STJ stupidity in regards to derived types

STJ can't serialize derived type properties by default, so we'll use another approach in our serializable file function

* Make CI happy

* Bunch of further fixes

* Fix AddFreeLicense() after rewrite

* Add full support for JsonDisallowNullAttribute

* Optimize our json utilities even further

* Misc

* Add support for fields in disallow null

* Misc optimization

* Fix deserialization of GlobalCache in STD

* Fix non-public [JsonExtensionData]

* Fix IM missing method exception, correct db storage helpers

* Fix saving into generic databases

Thanks STJ

* Make Save() function abstract to force inheritors to implement it properly

* Correct ShouldSerializeAdditionalProperties to be a method

* Misc cleanup

* Code review

* Allow JSON comments in configs, among other

* Allow trailing commas in configs

Users very often add them accidentally, no reason to throw on them

* Fix confirmation ID

Probably needs further fixes, will need to check later

* Correct confirmations deserialization

* Use JsonNumberHandling

* Misc

* Misc

* [JsonDisallowNull] corrections

* Forbid [JsonDisallowNull] on non-nullable structs

* Not really but okay

* Add and use ToJson() helpers

* Misc

* Misc
2024-02-21 03:09:36 +01:00
renovate[bot]
a790c34976
chore(deps): update dependency markdig.signed to v0.35.0 2024-02-17 06:16:26 +00:00
renovate[bot]
24ec938565
chore(deps): update mstest monorepo to v3.2.1 2024-02-13 22:23:04 +00:00
renovate[bot]
407496efd6
chore(deps): update dependency microsoft.net.test.sdk to v17.9.0 2024-02-07 04:18:59 +00:00
renovate[bot]
eb71b640c5
chore(deps): update dependency microsoft.identitymodel.jsonwebtokens to v7.3.1 2024-02-03 08:28:40 +00:00
Archi
716b253a04
Move from System.IdentityModel.Tokens.Jwt to Microsoft.IdentityModel.JsonWebTokens
> As of IdentityModel 7x, this is a legacy tool that should be replaced with Microsoft.IdentityModel.JsonWebTokens.

> This is a newer, faster version of System.IdentityModel.Tokens.Jwt that has additional functionality
2024-01-30 13:26:32 +01:00
renovate[bot]
0384365315
chore(deps): update dependency system.identitymodel.tokens.jwt to v7.3.0 2024-01-30 06:46:07 +00:00
renovate[bot]
ddfa7220d8 chore(deps): update mstest monorepo to v3.2.0 2024-01-25 06:39:34 +00:00
renovate[bot]
c78d26a701
chore(deps): update dependency system.identitymodel.tokens.jwt to v7.2.0 2024-01-11 00:47:47 +00:00
renovate[bot]
bb91bf3918
chore(deps): update dependency system.identitymodel.tokens.jwt to v7.1.2 2024-01-09 18:38:55 +00:00
renovate[bot]
45539018f5
chore(deps): update dependency nlog.web.aspnetcore to v5.3.8 2023-12-29 22:50:02 +00:00
renovate[bot]
b8e9dca6d3
chore(deps): update dependency markdig.signed to v0.34.0 2023-12-14 21:15:35 +00:00
renovate[bot]
457bf6dfbb
Update dependency NLog.Web.AspNetCore to v5.3.7 2023-12-10 11:22:34 +00:00
Archi
f2ff2f4929
Closes #3060 2023-11-14 20:01:29 +01:00
renovate[bot]
1e04acb904
Update dotnet monorepo to v8 (#3071)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-14 17:25:06 +01:00
renovate[bot]
1f4f50591a Update dependency Microsoft.NET.Test.Sdk to v17.8.0 2023-11-09 23:03:58 +00:00
renovate[bot]
54e31504d5
Update dependency JetBrains.Annotations to v2023.3.0 2023-11-08 00:43:16 +00:00
renovate[bot]
4518547543
Update dependency SteamKit2 to v2.5.0 2023-11-06 16:04:24 +00:00
renovate[bot]
a1cf8291b4
Update dependency SteamKit2 to v2.5.0-Beta.2 (#3056)
* Update dependency SteamKit2 to v2.5.0-Beta.2

* Fix breaking changes

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Archi <JustArchi@JustArchi.net>
2023-10-30 22:11:33 +01:00
renovate[bot]
a50bc1e13b
Update dependency JustArchiNET.Madness to v3.17.0 2023-10-21 21:22:52 +00:00
Łukasz Domeradzki
d571cd9580
Closes #3043 (#3044)
* Implement support for access tokens

A bit more work and testing is needed

* Make ValidUntil computed, fix netf, among others

* netf fixes as always

* Allow AWH to forcefully refresh session

* Unify access token lifetime
2023-10-19 13:38:39 +02:00
renovate[bot]
400ea64cfd
Update dependency NLog.Web.AspNetCore to v5.3.5 2023-10-15 20:01:50 +00:00
renovate[bot]
be0682e0f5
Update dependency JustArchiNET.Madness to v3.16.0 2023-09-13 20:25:32 +00:00
renovate[bot]
52aa398ec7
Update dependency NLog.Web.AspNetCore to v5.3.4 2023-09-06 22:49:15 +00:00
renovate[bot]
1e786bdea3
Update dependency Markdig.Signed to v0.33.0 2023-08-30 06:14:25 +00:00
renovate[bot]
cfebe7bd50
Update dependency Microsoft.NET.Test.Sdk to v17.7.2 2023-08-29 09:45:50 +00:00
renovate[bot]
5d7a1e33b6
Update dependency Microsoft.NET.Test.Sdk to v17.7.1 2023-08-16 15:35:29 +00:00
renovate[bot]
7d70c0fe25
Update dependency NLog.Web.AspNetCore to v5.3.3 2023-08-06 18:27:19 +00:00
renovate[bot]
df60c6d4d2
Update dependency Microsoft.NET.Test.Sdk to v17.7.0 2023-08-04 16:41:12 +00:00
renovate[bot]
927a55fe2c
Update dependency Markdig.Signed to v0.32.0 2023-08-04 07:59:50 +00:00
renovate[bot]
2a89cd781d
Update mstest monorepo to v3.1.1 2023-07-14 10:55:29 +00:00