Skip to content

Strings! #122

Description

@neoadventist

If I have

obj = {
valueType: 'INT64',
          points: {
            interval: {
              startTime: now,
              endTime: now
            },
            value: {

            }
          }
}

then i set

obj.valueType = 'STRING'; and obj.points.value.int64Value = 'some JSON'

I get

message: 'Invalid value at \'time_series[0].points.value.int64_value\' (TYPE_INT64),

I want to be able to send JSON to stack driver when an exception occurs in the program. Currently i'm only able to send integers.

Activity

  1. jmdobry commented on Jun 9, 2016

    @jmdobry
    Member

    Can you give additional context as to what you're doing, or why you opened an issue on this particular repository? Are you having trouble running one of the samples in this repository? Otherwise, you can get support at https://gcp-slack.appspot.com/ or by posting a question on Stack Overflow.

  2. neoadventist commented on Jun 9, 2016

    @neoadventist
    Author

    Was trying to send a JSON value instead of a number and received an error. didn't know about the gcp-slack. I'll try to see if someone has solved this problem there. Is there a form or place for stackdriver?

  3. jmdobry commented on Jun 9, 2016

    @jmdobry
    Member

    There's a #monitoring channel in Slack, and the Stack Overflow link I gave you links to the StackDriver tag on Stack Overflow.

  4. neoadventist commented on Jun 9, 2016

    @neoadventist
    Author

    joined it thanks @jmdobry

  5. neoadventist commented on Jun 9, 2016

    @neoadventist
    Author

    Turns out you can't send strings if anyone looks at this in the future.

  6. added a commit that references this issue on Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🚨This issue needs some love.triage meI really want to be triaged.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions