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

Set timestamp when writing monitoring stats #2003

Merged
merged 3 commits into from
Mar 18, 2015
Merged

Set timestamp when writing monitoring stats #2003

merged 3 commits into from
Mar 18, 2015

Conversation

otoolep
Copy link
Contributor

@otoolep otoolep commented Mar 18, 2015

No description provided.

@otoolep
Copy link
Contributor Author

otoolep commented Mar 18, 2015

Stats are now stored correctly:

$ curl -G http://localhost:8086/query?pretty=true --data-urlencode "db=internal" --data-urlencode "q=SELECT * from server"
{
    "results": [
        {
            "series": [
                {
                    "name": "server",
                    "columns": [
                        "time",
                        "batchWriteRx",
                        "broadcastMessageRx",
                        "broadcastMessageTx",
                        "pointWriteRx",
                        "shardsCreated",
                        "writeSeriesMessageTx"
                    ],
                    "values": [
                        [
                            "2015-03-18T19:40:58.059639954Z",
                            null,
                            2,
                            2,
                            null,
                            null,
                            null
                        ],
                        [
                            "2015-03-18T19:41:08.059618968Z",
                            1,
                            4,
                            4,
                            1,
                            1,
                            1
                        ],
                        [
                            "2015-03-18T19:41:18.059654446Z",
                            2,
                            5,
                            5,
                            2,
                            1,
                            2
                        ],
                        [
                            "2015-03-18T19:41:28.059641595Z",
                            3,
                            5,
                            5,
                            3,
                            1,
                            3
                        ]
                    ]
                }
            ]
        }
    ]
}

@corylanou
Copy link
Contributor

+1

@otoolep
Copy link
Contributor Author

otoolep commented Mar 18, 2015

Thanks @corylanou

otoolep added a commit that referenced this pull request Mar 18, 2015
Set timestamp when writing monitoring stats
@otoolep otoolep merged commit f622f78 into master Mar 18, 2015
@otoolep otoolep deleted the more_stats branch March 18, 2015 20:09
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.

2 participants