Commit Graph

42 Commits

Author SHA1 Message Date
Mikel Blanchard 25d99a56bf
[repo] Mitigate vulnerabilities in System.Text.Json 8.0.0 packages (#5874) 2024-10-04 13:38:15 -07:00
Robert Coltheart 60b7d9baf3
[prometheus] Support meter-level tags (#5837)
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2024-09-23 09:56:38 -07:00
Yevhenii Solomchenko 82b1fbd760
[Exporter.Prometheus] Nullable (#5791)
Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
2024-09-13 20:45:28 -07:00
Piotr Kiełkowicz 104c9f0e82
[repo] Extend NugetAudit by indirect references (#5812) 2024-09-04 09:34:20 -07:00
jcin193 2f14c244e3
[prometheus] Fix collection output buffer management when its resized (#5676)
Co-authored-by: Reiley Yang <reyang@microsoft.com>
Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
Co-authored-by: Vishwesh Bankwar <vishweshbankwar@users.noreply.github.com>
2024-06-24 10:41:38 -07:00
Mikel Blanchard 908b46ca2d
[repo] Bump OTelLatestStableVer to 1.9.0 and fix coreunstable test issues (#5696) 2024-06-14 15:34:34 -07:00
Robert Coltheart b9d56aa64e
[prometheus] Fix OpenMetrics format suffixes (#5646)
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
Co-authored-by: Reiley Yang <reyang@microsoft.com>
2024-05-28 10:47:02 -07:00
Robert Coltheart 8177a391a6
[prometheus] Fix issue with corrupted buffers when reading both OpenMetrics and plain text formats (#5623)
Co-authored-by: Piotr Kiełkowicz <pkiekowicz@splunk.com>
Co-authored-by: Vishwesh Bankwar <vishweshbankwar@users.noreply.github.com>
Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
2024-05-17 12:38:16 -07:00
Robert Coltheart 0969437c39
Include resource attributes as `target_info` for Prometheus exporters (#5407) 2024-03-21 16:30:54 -07:00
Robert Coltheart 7eeae5b114
Scope info should only be exported for Prometheus if OpenMetrics is requested (#5182) 2023-12-14 21:00:35 -08:00
Robert Coltheart 3c986e894c
Add scope info and version to Prometheus exporter (#5086) 2023-12-14 16:44:22 -08:00
Reiley Yang 57ee852470
Simplify copyright disclaimer (#5140) 2023-12-07 10:04:56 -08:00
Robert Coltheart 7419d854e6
Export OpenMetrics format for prometheus exporters (#5107) 2023-12-06 16:18:25 -08:00
Nils Gruson 8369c2090f
Removed Moq dependency from Exporter.Prometheus.AspNetCore.Tests (#5119) 2023-12-04 12:36:14 -08:00
Utkarsh Umesan Pillai c337d1ea84
[repo] Misc changes (#5053) 2023-11-15 14:08:03 -08:00
Reiley Yang b0038ae9b3
Use TFM specific package version (#4911) 2023-10-02 19:15:15 -07:00
Yun-Ting Lin 8ea6bb951c
upgraded the build/CI to use net8.0 (#4876) 2023-10-02 15:58:32 -07:00
Reiley Yang b22c7a9372
Clean up TFMs for tests (#4907) 2023-10-02 09:29:30 -07:00
James Newton-King 49031ba208
Update Prometheus exporter name and unit processing (#4753)
Co-authored-by: Utkarsh Umesan Pillai <66651184+utpilla@users.noreply.github.com>
Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
2023-08-16 10:53:05 -07:00
Reiley Yang 6ef14c79d6
Clean up package dependencies (#4748) 2023-08-07 14:53:41 -07:00
jarosal dacc532d51
Update OpenTelemetry.Exporter.Prometheus.AspNetCore to use filescoped… (#4697) 2023-07-26 16:06:33 -07:00
Reiley Yang 6ba9245f34
Remove the deprecated/unused dotnet-xunit dependency (#4574) 2023-06-12 19:00:53 -07:00
Luiz Lelis fea6793a55
Clean up package version definitions using Directory.Packages.props (#4298)
Co-authored-by: Alan West <3676547+alanwest@users.noreply.github.com>
Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2023-05-09 09:35:05 -07:00
Utkarsh Umesan Pillai 39c7c60a8a
Remove unnecessary usings from exporters, extensions, and shim tests (#4027) 2022-12-20 19:12:40 -08:00
Timothy Mothra 64f1d74561
fix analysis issues: CA2007 (part2) (#4018)
* fix analysis issues: CA2007

* remove duplicate

Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
2022-12-15 16:31:49 -08:00
Mikel Blanchard 9836d3addb
[DependencyInjection] Introduce new package and refactor SDK (#3923) 2022-12-08 15:24:44 -08:00
Timothy Mothra 804c448d2e
add nullable enable to Common.props and disable in projects. (#3964) 2022-12-05 15:33:57 -08:00
Cijo Thomas 85da882bbd
Upgrade DS to 7.0 stable (#3875) 2022-11-08 12:13:54 -05:00
Vishwesh Bankwar 131b350d95
add net7.0 to test and docs project (#3842) 2022-10-28 16:58:56 -04:00
Mikel Blanchard 6fae370b26
[Prometheus AspNetCore] Support named options in pipeline extensions (#3780)
* Support named options in Prometheus AspNetCore pipeline extensions.

* Patch CHANGELOG.

Co-authored-by: Cijo Thomas <cijo.thomas@gmail.com>
2022-10-20 10:11:35 -07:00
Piotr Kiełkowicz e826f9d233
[Exporter.PrometheusAspNetCore] update Public API (#3717)
* Refactor prometheus exporter options.
2022-10-05 09:20:48 -07:00
Piotr Kiełkowicz 3158d38bbd
[Exporter.Prometheus] Execute all tests in all supported frameworks (#3680) 2022-09-22 11:40:04 -04:00
Reiley Yang e68abc8136
Output EOF following the OpenMetrics exposition recommendation (#3654)
* Output EOF following the OpenMetrics exposition recommendation

* update test case

* changelog
2022-09-14 10:08:42 -07:00
Mikel Blanchard 79d8714cb3
[Metrics] Clean up repo exporters to use new DI patterns (#3648)
* Clean up metric exporters to use new DI patterns.

* Support named options with in-memory exporter build-up.

* Support named options in ConsoleExporter metrics extensions.

* Support named options in OtlpExporter metrics extensions.

* Support named options in PrometheusExporter AspNetCore metrics extensions.

* Support named options in PrometheusExporter HttpListener metrics extensions.

* CHANGELOG updates.

* Unit tests.
2022-09-12 17:41:51 -07:00
Dawid Szmigielski cea14d3d36
Change StatusCode to 200 when no metrics are collected (#3643) 2022-09-11 00:56:29 -04:00
Alan West 46e6c8a06d
Move common Prometheus exporter tests to their own project (#3618)
* Move common Prometheus exporter tests to their own project

* Skip test for net462

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
Co-authored-by: Utkarsh Umesan Pillai <utpilla@microsoft.com>
2022-08-30 15:35:38 -07:00
Alan West a789bc0259
Merge net7.0 to main (#3539) 2022-08-04 10:25:21 -07:00
Alan West 25df7e85b0
Revert "Merge branch 'net7.0' into main" (#3531)
This reverts commit e64015cadd, reversing
changes made to 5653454b0c.
2022-08-03 15:47:18 -07:00
Alan West 8dd0743174
Merge branch 'main' into net7.0 2022-08-03 11:46:27 -07:00
Reiley Yang 8d5d3d6ee8
Dust off Prometheus Exporters (#3507) 2022-08-01 10:33:00 -07:00
Yun-Ting Lin 084244ccae
[Prometheus] Remove shared project and move the shared code under listener project (#3503) 2022-07-29 17:16:20 -07:00
Yun-Ting Lin cd6043bbf7
[Prometheus] Split up projects based on hosting mechanism. (#3430) 2022-07-28 16:02:53 -07:00