Skip to content

Comments

Draft integration with IORuntimeMetrics#173

Closed
iRevive wants to merge 4 commits intotypelevel:mainfrom
iRevive:ce-runtime-metrics
Closed

Draft integration with IORuntimeMetrics#173
iRevive wants to merge 4 commits intotypelevel:mainfrom
iRevive:ce-runtime-metrics

Conversation

@iRevive
Copy link
Contributor

@iRevive iRevive commented Apr 11, 2023

The dirty implementation based on typelevel/cats-effect#3317.

The output is:

// compute
active-thread-count          = value=1
worker-thread-count          = value=8
blocker-worker-thread-count  = value=6
local-queue-fiber-count      = value=0
searching-thread-count       = value=0
suspended-fiber-count        = value=9

// starvation
cpu-starvation-count         = value=0
current-clock-drift-ms       = value=0
max-clock-drift-ms           = value=0

Once I come up with a more reasonable workload idea, the data should look better.

iRevive added 3 commits April 3, 2023 15:01
# Conflicts:
#	core/metrics/src/main/scala/org/typelevel/otel4s/metrics/Meter.scala
#	core/metrics/src/main/scala/org/typelevel/otel4s/metrics/ObservableInstrumentBuilder.scala
#	core/metrics/src/main/scala/org/typelevel/otel4s/metrics/ObservableUpDownCounter.scala
name := "otel4s-core-metrics",
libraryDependencies ++= Seq(
"org.typelevel" %%% "cats-effect-kernel" % CatsEffectVersion,
"org.typelevel" %%% "cats-effect" % CatsEffectVersion,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Runtime metrics are living in the cats-effect module.

@iRevive
Copy link
Contributor Author

iRevive commented Jul 10, 2024

@iRevive
Copy link
Contributor Author

iRevive commented Dec 2, 2024

Close in favor of #861.

@iRevive iRevive closed this Dec 2, 2024
@mergify mergify bot added module:core Features and improvements to core module metrics Improvement to metrics module labels Dec 2, 2024
@iRevive iRevive deleted the ce-runtime-metrics branch December 5, 2024 07:23
@iRevive iRevive linked an issue Feb 25, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

metrics Improvement to metrics module module:core Features and improvements to core module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Integrate with IORuntime metrics

1 participant