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

More stats and diags #2058

Merged
merged 3 commits into from
Mar 23, 2015
Merged

More stats and diags #2058

merged 3 commits into from
Mar 23, 2015

Conversation

otoolep
Copy link
Contributor

@otoolep otoolep commented Mar 23, 2015

No description provided.

@otoolep
Copy link
Contributor Author

otoolep commented Mar 23, 2015

$ curl -G http://localhost:8086/query?pretty=true --data-urlencode "db=internal" --data-urlencode "q=SELECT * from server LIMIT 1" 
{
    "results": [
        {
            "series": [
                {
                    "name": "server",
                    "columns": [
                        "time",
                        "batchWriteRx",
                        "broadcastMessageRx",
                        "broadcastMessageTx",
                        "pointWriteRx",
                        "queriesExecuted",
                        "queriesRx",
                        "shardsCreated",
                        "writeSeriesMessageTx"
                    ],
                    "values": [
                        [
                            "2015-03-23T23:21:47.602825778Z",
                            null,
                            2,
                            2,
                            null,
                            null,
                            null,
                            null,
                            null
                        ]
                    ]
                }
            ]
        }
    ]
}

@otoolep
Copy link
Contributor Author

otoolep commented Mar 23, 2015

curl -G http://localhost:8086/query?pretty=true --data-urlencode "db=internal" --data-urlencode "q=SHOW TAG KEYS"
{
    "results": [
        {
            "series": [
                {
                    "name": "server",
                    "columns": [
                        "tagKey"
                    ],
                    "values": [
                        [
                            "host"
                        ],
                        [
                            "serverID"
                        ]
                    ]
                },
                {
                    "name": "shard",
                    "columns": [
                        "tagKey"
                    ],
                    "values": [
                        [
                            "host"
                        ],
                        [
                            "serverID"
                        ],
                        [
                            "shardID"
                        ]
                    ]
                }
            ]
        }
    ]
}
$ curl -G http://localhost:8086/query?pretty=true --data-urlencode "db=internal" --data-urlencode "q=SHOW TAG VALUES WITH key=serverID"
{
    "results": [
        {
            "series": [
                {
                    "name": "serverIDTagValues",
                    "columns": [
                        "serverID"
                    ],
                    "values": [
                        [
                            "1"
                        ]
                    ]
                }
            ]
        }
    ]
}~ $ curl -G http://localhost:8086/query?pretty=true --data-urlencode "db=internal" --data-urlencode "q=SHOW TAG VALUES WITH key=host"
{
    "results": [
        {
            "series": [
                {
                    "name": "hostTagValues",
                    "columns": [
                        "host"
                    ],
                    "values": [
                        [
                            "malthus"
                        ]
                    ]
                }
            ]
        }
    ]
}

@121watts
Copy link
Contributor

:shipit:

@mark-rushakoff
Copy link
Contributor

LGTM 👍

@otoolep
Copy link
Contributor Author

otoolep commented Mar 23, 2015

Thanks @121watts, @mark-rushakoff -- one minor issue about the tags, will fix that and then merge.

otoolep added a commit that referenced this pull request Mar 23, 2015
@otoolep otoolep merged commit 6452564 into master Mar 23, 2015
@otoolep otoolep deleted the more_diags branch March 23, 2015 23:52
mark-rushakoff pushed a commit that referenced this pull request Jan 11, 2019
…d-plugins-in-sidebar

Display red x in sidebar when plugin config is invalid
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