Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Discussion DSL Metrics

See original GitHub issue

In @MyDogTom commented:

Customising which metrics are executed might be very confusing. For example, the following

talaiot {
  metrics {
    customMetrics(new MyMetric())

will disable all metrics and use only MyMetric, because standard set of metrics is used only when there is no custom configuration. This might be not what people expect and not useful if I just want to add something on top of the standard configuration. Similar issue with the following configuration

talaiot {
  metrics {

From the DSL it’s not obvious what is actually happening.

It’s a very valid point. This issue is to discuss how we can offer a better approach for customizing metrics

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

MyDogTomcommented, Apr 28, 2020

I propose the following DSL

talaiot {
    metrics {
        defaultMetrics = true // default is true
        gitMetrics = true // default is true
        environmentMetrics = true // default is true
        performanceMetrics = true // default is true
        gradleSwitchesMetrics = true // default is true
                new MyMetricA(),
                new MyMetricsB()

Like that built-in metrics are disabled only when it’s explicitly specified. I believe this should eliminate possibility for confusion while keeping the same flexibility level.

cdsapcommented, May 5, 2020

yep, you’re right. I merged the PR.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Which DSL metric to monitor? :: Technical Issues
I'm planning on collecting the data using the SNMP ADSL-MIB (which is the same MIB used for VDSL2) At the moment my options...
Read more >
Metrics helpful in assessing Internet Quality
This paper presents some Internet quality metrics that have proven to work well in real-world deployments and proposes additional metrics to further refine ......
Read more >
DSL Quality Suite - Broadband Forum
The DQS scope mainly takes into account ADSL, ADSL2, ADSL2plus and VDSL2 technologies and focuses on DSL parameters and metrics to guarantee and ......
Read more >
Measuring Fixed Broadband - Eleventh Report
DSL broadband ISPs, however, continue to advertise “up-to” speeds that, ... The metrics discussed in this Report are derived from active ...
Read more >
Metric computation for multiple backends - Microsoft Research
In our DSL, metrics are defined at levels. These levels are just columns in the data whose values can be used as units...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found