#"Custom metrics aren’t available for your Unity project. " - but should be available?

1 messages · Page 1 of 1 (latest)

spring umbra
#

I can see the "Metrics" menu item in my Sentry dashboard and can also load the page. When clicking on "Add Metric" it says that "Custom Metrics aren't available for your Unity project". Is this just an error on the Sentry side and I should a) not even be able to see this yet if I am not yet in the alpha b) does it mean my alpha registration was accepted and I have access but something is buggy on our/Sentry end?

I'd love to give it a try since that is the last missing piece in the monitoring of our app and Unity does support this as far as I am aware.

wide tartan
spring umbra
wide tartan
#

ah maybe there is something specific to Unity then, I will double check

it was recently added by @pearl trout not sure if more product flips need to be switched

#

so I got instantly excited and then saw my hopes smashed
sorry we took you on that roller coast ride my man! we promise a less emotionally exhausting future through beta and beyond 😂

pearl trout
#

Metrics are very much stable but we've got them hidden behind experimental in the SDK. To kind of "give your consent to experiment" you've got to opt-into them via the RuntimeConfigurationOptions like so

public override void Configure(SentryUnityOptions options)
{
    options.ExperimentalMetrics = new ExperimentalMetricsOptions { EnableCodeLocations = true };
}
spring umbra
topaz burrow
#

Hi, Bjorn! Thanks so much for reporting this 🙏 It seems there's an issue on our side - we'll try to get that fixed latest on Monday. We'll let you know as soon as it's done so you can try again.
Really sorry for the inconvenience and thanks for your patience!

wide tartan
topaz burrow
#

Hi, @spring umbra! Sorry we didn’t manage to update you sooner, but the fix has been merged, so you should be able to finally see you metrics in the Unity project. Can you try again now? Thanks a lot.

spring umbra