Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Uneccesary duplication in stack traces #2362

Open
moshloop opened this issue Dec 9, 2024 · 0 comments
Open

Uneccesary duplication in stack traces #2362

moshloop opened this issue Dec 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@moshloop
Copy link
Member

moshloop commented Dec 9, 2024

22:26:16.025 INF (http-pass.http-body) FAIL duration=264  Oops: no such overload
Time: 2024-12-09 20:26:16.020151 +0000 UTC
Trace: 01JEPHKSJSJMRQZ7E2QM9QNVR3
Context:
  * labels: map[]
  * metrics: [response_code{code=200, url=https://httpbin.demo.aws.flanksource.com/html}=0]
  * details: <nil>
  * template: 'Herman Melville' in content
  * environment: map[canary:map[id: labels:map[canary:http] name:http-pass namespace:default] check:map[description: endpoint:https://httpbin.demo.aws.flanksource.com/html id: labels:map[] name:http-body] code:200 content:<!DOCTYPE html>
<html>
  <head>
  </head>
  <body>
      <h1>Herman Melville - Moby-Dick</h1>

        </p>
      </div>
  </body>
</html> duration:264 elapsed:264.166542ms headers:map[Access-Control-Allow-Credentials:true Access-Control-Allow-Origin:* Content-Length:3741 Content-Type:text/html; charset=utf-8 Date:Mon, 09 Dec 2024 20:26:16 GMT Strict-Transport-Security:max-age=15724800; includeSubDomains] json:map[] results:map[] sslAge:1541h40m23.986329s]
  * canary_id:
  * namespace: default
  * name: http-pass
  * data: map[code:200 content:<!DOCTYPE html>
<html>
  <head>
  </head>
  <body>
      <h1>Herman Melville - Moby-Dick</h1>

        </p>
      </div>
  </body>
</html> elapsed:264.166542ms headers:map[Access-Control-Allow-Credentials:true Access-Control-Allow-Origin:* Content-Length:3741 Content-Type:text/html; charset=utf-8 Date:Mon, 09 Dec 2024 20:26:16 GMT Strict-Transport-Security:max-age=15724800; includeSubDomains] json:map[] results:map[] sslAge:1541h40m23.986329s]
Stacktrace:
  Oops: no such overload
    --- at /Users/moshe/go/pkg/mod/github.com/flanksource/gomplate/v3@v3.24.48/template.go:203 RunExpressionContext()
    --- at /Users/moshe/go/pkg/mod/github.com/flanksource/gomplate/v3@v3.24.48/template.go:264 RunTemplateContext()
    --- at github.com/flanksource/duty/context/template.go:22 Context.RunTemplate()
    --- at github.com/flanksource/canary-checker/checks/common.go:72 template()
    --- at github.com/flanksource/canary-checker/checks/runchecks.go:273 processTemplates()
    --- at github.com/flanksource/canary-checker/checks/runchecks.go:217 TransformResults()
    --- at github.com/flanksource/canary-checker/checks/runchecks.go:131 RunChecks()
    --- at github.com/flanksource/canary-checker/cmd/run.go:72 init.func4.1()
  Thrown: no such overload
    --- at github.com/flanksource/duty/context/template.go:24 Context.RunTemplate()
    --- at github.com/flanksource/canary-checker/checks/common.go:72 template()
    --- at github.com/flanksource/canary-checker/checks/runchecks.go:273 processTemplates()
    --- at github.com/flanksource/canary-checker/checks/runchecks.go:217 TransformResults()
    --- at github.com/flanksource/canary-checker/checks/runchecks.go:131 RunChecks()
    --- at github.com/flanksource/canary-checker/cmd/run.go:72 init.func4.1()
  Thrown: no such overload
    --- at github.com/flanksource/canary-checker/checks/runchecks.go:275 processTemplates()
    --- at github.com/flanksource/canary-checker/checks/runchecks.go:217 TransformResults()
    --- at github.com/flanksource/canary-checker/checks/runchecks.go:131 RunChecks()
    --- at github.com/flanksource/canary-checker/cmd/run.go:72 init.func4.1()
 Oops: no such overload
Time: 2024-12-09 20:26:16.020151 +0000 UTC
Trace: 01JEPHKSJSJMRQZ7E2QNG9NWP4
Context:
  * metrics: [response_code{code=200, url=https://httpbin.demo.aws.flanksource.com/html}=0]
  * details: <nil>
  * name: http-pass
  * labels: map[]
  * environment: map[canary:map[id: labels:map[canary:http] name:http-pass namespace:default] check:map[description: endpoint:https://httpbin.demo.aws.flanksource.com/html id: labels:map[] name:http-body] code:200 content:<!DOCTYPE html>
<html>
  <head>
  </head>
  <body>
      <h1>Herman Melville - Moby-Dick</h1>

        </p>
      </div>
  </body>
</html> duration:264 elapsed:264.166542ms headers:map[Access-Control-Allow-Credentials:true Access-Control-Allow-Origin:* Content-Length:3741 Content-Type:text/html; charset=utf-8 Date:Mon, 09 Dec 2024 20:26:16 GMT Strict-Transport-Security:max-age=15724800; includeSubDomains] json:map[] results:map[] sslAge:1541h40m23.986329s]
  * template: 'Herman Melville' in content
  * data: map[code:200 content:<!DOCTYPE html>
<html>
  <head>
  </head>
  <body>
      <h1>Herman Melville - Moby-Dick</h1>

      <div>
        </p>
      </div>
  </body>
</html> elapsed:264.166542ms headers:map[Access-Control-Allow-Credentials:true Access-Control-Allow-Origin:* Content-Length:3741 Content-Type:text/html; charset=utf-8 Date:Mon, 09 Dec 2024 20:26:16 GMT Strict-Transport-Security:max-age=15724800; includeSubDomains] json:map[] results:map[] sslAge:1541h40m23.986329s]
  * canary_id:
  * namespace: default
Stacktrace:
  Oops: no such overload
    --- at /Users/moshe/go/pkg/mod/github.com/flanksource/gomplate/v3@v3.24.48/template.go:203 RunExpressionContext()
    --- at /Users/moshe/go/pkg/mod/github.com/flanksource/gomplate/v3@v3.24.48/template.go:264 RunTemplateContext()
    --- at github.com/flanksource/duty/context/template.go:22 Context.RunTemplate()
    --- at github.com/flanksource/canary-checker/checks/common.go:72 template()
    --- at github.com/flanksource/canary-checker/checks/runchecks.go:273 processTemplates()
    --- at github.com/flanksource/canary-checker/checks/runchecks.go:217 TransformResults()
    --- at github.com/flanksource/canary-checker/checks/runchecks.go:131 RunChecks()
    --- at github.com/flanksource/canary-checker/cmd/run.go:72 init.func4.1()
  Thrown: no such overload
    --- at github.com/flanksource/duty/context/template.go:24 Context.RunTemplate()
    --- at github.com/flanksource/canary-checker/checks/common.go:72 template()
    --- at github.com/flanksource/canary-checker/checks/runchecks.go:273 processTemplates()
    --- at github.com/flanksource/canary-checker/checks/runchecks.go:217 TransformResults()
    --- at github.com/flanksource/canary-checker/checks/runchecks.go:131 RunChecks()
    --- at github.com/flanksource/canary-checker/cmd/run.go:72 init.func4.1()
  Thrown: no such overload
    --- at github.com/flanksource/canary-checker/checks/runchecks.go:275 processTemplates()
    --- at github.com/flanksource/canary-checker/checks/runchecks.go:217 TransformResults()
    --- at github.com/flanksource/canary-checker/checks/runchecks.go:131 RunChecks()
    --- at github.com/flanksource/canary-checker/cmd/run.go:72 init.func4.1()
@moshloop moshloop added the bug Something isn't working label Dec 9, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant