Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Add resource attrs to console export #91

Merged
merged 1 commit into from
Mar 17, 2024

Conversation

rdooley
Copy link
Contributor

@rdooley rdooley commented Mar 13, 2024

2024/03/13 15:50:54 [info] 4#4: *103 [lua] console.lua:32: export_spans(): Export spans:
---------------------------------------------------------
  resource_attributes = {
    1 = {
      key = "telemetry.sdk.language"
      value = {
        string_value = "lua"
      }
    }
    2 = {
      key = "telemetry.sdk.name"
      value = {
        string_value = "opentelemetry-lua"
      }
    }
    3 = {
      key = "telemetry.sdk.version"
      value = {
        string_value = "0.1.1"
      }
    }
    4 = {
      key = "host.name"
      value = {
        string_value = "db664ee9bb41"
      }
    }

Was debugging something with resource attribute export (another PR for this incoming) but figured adding this to the console exporter was an easy addition

@yangxikun yangxikun merged commit 56d6823 into yangxikun:main Mar 17, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants