jaegertracing / jaeger-ui

Web UI for Jaeger
http://jaegertracing.io/
Apache License 2.0
1.15k stars 483 forks source link

[Feature]: copy log entry VALUE as is #1503

Closed neopaf closed 1 year ago

neopaf commented 1 year ago

Requirement

As a Jaeger UI user I want to be able to copy information from a log entry, from one of keys. Just value, nothing else.

Problem

Currently we have Copy JSON button that copies one key from log entry like this:

{
  "key": "key1",
  "type": "string",
  "value": "{\n  \"eventItem\": [{\n    \"UsageEventItem\": {\n      \"itemTime\": \"2023-05-31T10:22:58Z\",\n      \"usage\": {\n        ..."

While we need the content of value only. Value is long and to just select and copy -> inconvenient.

Proposal

Please add Copy value somewhere icon next to Copy JSON that would copy only value, in my case:

{
  "eventItem": [{
    "UsageEventItem": {
      "itemTime": "2023-05-31T10:22:58Z",
      "usage": {

Open questions

No response

yurishkuro commented 1 year ago

Original Copy JSON was added in #292 / #312.

neopaf commented 1 year ago

@yurishkuro Yuri, my deep respect for this. Karma += 1E9!