Skip to content

Instantly share code, notes, and snippets.

heinrichvk

Block or report user

Report or block heinrichvk

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@heinrichvk
heinrichvk / lastInsertDate
Created Dec 2, 2015
Returns the last insert date for the entity or entity/metric combination in ISO format. Metric is an optional parameter.
View lastInsertDate
lastInsertDate('nurswgvml007', 'cpu_busy')
@heinrichvk
heinrichvk / lastInsertTime
Created Dec 2, 2015
Returns the last insert time for the entity or entity/metric combination in milliseconds. Metric is an optional parameter.
View lastInsertTime
lastInsertTime('nurswgvml007', 'cpu_busy')
@heinrichvk
heinrichvk / custom_metrics.java
Created Nov 30, 2015
Wrap a single methods using custom metrics - Axibase Time Series Database Spring Storage Driver
View custom_metrics.java
@Measured
public List<City> findCities()
@heinrichvk
heinrichvk / collectd.conf
Created Nov 5, 2015
Default ATSD collectd configuration.
View collectd.conf
LoadPlugin aggregation
LoadPlugin contextswitch
LoadPlugin cpu
LoadPlugin df
LoadPlugin disk
LoadPlugin entropy
LoadPlugin interface
LoadPlugin load
LoadPlugin logfile
LoadPlugin memory
@heinrichvk
heinrichvk / get_aggregation_log_filter.xml
Last active Oct 29, 2015
To use the Aggregation Log Filter in your project, you can simple include its module into the build of your project and configure it.
View get_aggregation_log_filter.xml
<dependency>
<groupId>com.axibase</groupId>
<artifactId>aggregation-log-filter</artifactId>
<version>0.3.1</version>
</dependency>
@heinrichvk
heinrichvk / logback-example.xml
Last active Oct 29, 2015
Example Aggregation Log Filter Configuration
View logback-example.xml
<!--
~ Copyright 2015 Axibase Corporation or its affiliates. All Rights Reserved.
~
~ Licensed under the Apache License, Version 2.0 (the "License").
~ You may not use this file except in compliance with the License.
~ A copy of the License is located at
~
~ https://www.axibase.com/atsd/axibase-apache-2.0.pdf
~
~ or in the "license" file accompanying this file. This file is distributed
@heinrichvk
heinrichvk / logback-sendMessage.xml
Last active Oct 29, 2015
sendMessage configuration example
View logback-sendMessage.xml
<sendMessage>
<level>WARN</level>
</sendMessage>
<sendMessage>
<level>ERROR</level>
<stackTraceLines>15</stackTraceLines>
<sendMultiplier>3</sendMultiplier>
<resetIntervalSeconds>600</resetIntervalSeconds>
</sendMessage>
@heinrichvk
heinrichvk / logback-sendSeries.xml
Last active Oct 30, 2015
sendSeries configuration example
View logback-sendSeries.xml
<sendSeries>
<!-- default: 60 -->
<intervalSeconds>60</intervalSeconds>
<!-- 0+ default:1 -->
<repeatCount>5</repeatCount>
<!-- default: 0 -->
<minIntervalThreshold>0</minIntervalThreshold>
<!-- default: 5 -->
<minIntervalSeconds>5</minIntervalSeconds>
</sendSeries>
@heinrichvk
heinrichvk / logback-http-writer.xml
Last active Oct 30, 2015
HTTP writer configuration example
View logback-http-writer.xml
<writer class="com.axibase.tsd.collector.writer.HttpStreamingAtsdWriter">
<url>http://atsd_server:8088/api/v1/command/</url>
<username>axibase</username>
<password>*****</password>
</writer>
@heinrichvk
heinrichvk / logback-udp-writer.xml
Last active Oct 30, 2015
UDP writer configuration example
View logback-udp-writer.xml
<writer class="com.axibase.tsd.collector.writer.UdpAtsdWriter">
<host>atsd_server</host>
<port>8082</port>
</writer>
You can’t perform that action at this time.