Skip to content

Commit

Permalink
license and header changes
Browse files Browse the repository at this point in the history
  • Loading branch information
joewilliams committed Apr 22, 2011
1 parent 32d4617 commit f4ecca6
Show file tree
Hide file tree
Showing 26 changed files with 120 additions and 67 deletions.
5 changes: 2 additions & 3 deletions src/folsom.erl
@@ -1,5 +1,5 @@
%%%
%%% Copyright 2011, fast_ip
%%% Copyright 2011, Boundary
%%%
%%% Licensed under the Apache License, Version 2.0 (the "License");
%%% you may not use this file except in compliance with the License.
Expand All @@ -17,8 +17,7 @@

%%%-------------------------------------------------------------------
%%% File: folsom.erl
%%% @author joe williams <j@fastip.com>
%%% @copyright 2011 fast_ip
%%% @author joe williams <j@boundary.com>
%%% @doc
%%% @end
%%%------------------------------------------------------------------
Expand Down
5 changes: 2 additions & 3 deletions src/folsom_app.erl
@@ -1,5 +1,5 @@
%%%
%%% Copyright 2011, fast_ip
%%% Copyright 2011, Boundary
%%%
%%% Licensed under the Apache License, Version 2.0 (the "License");
%%% you may not use this file except in compliance with the License.
Expand All @@ -17,8 +17,7 @@

%%%-------------------------------------------------------------------
%%% File: folsom_app.erl
%%% @author joe williams <j@fastip.com>
%%% @copyright 2011 fast_ip
%%% @author joe williams <j@boundary.com>
%%% @doc
%%% @end
%%%------------------------------------------------------------------
Expand Down
10 changes: 5 additions & 5 deletions src/folsom_event.erl
@@ -1,5 +1,5 @@
%%%
%%% Copyright 2011, fast_ip
%%% Copyright 2011, Boundary
%%%
%%% Licensed under the Apache License, Version 2.0 (the "License");
%%% you may not use this file except in compliance with the License.
Expand All @@ -16,12 +16,12 @@


%%%-------------------------------------------------------------------
%%% @author joe williams <j@fastip.com>
%%% File: folsom_event.erl
%%% @author joe williams <j@boundary.com>
%%% @doc
%%% _metrics
%%% @end
%%% Created : 22 Mar 2011 by joe williams <j@fastip.com>
%%%-------------------------------------------------------------------
%%%------------------------------------------------------------------

-module(folsom_event).

-behaviour(gen_event).
Expand Down
1 change: 0 additions & 1 deletion src/folsom_ewma.erl
Expand Up @@ -18,7 +18,6 @@
%%%-------------------------------------------------------------------
%%% File: folsom_ewma.erl
%%% @author joe williams <j@boundary.com>
%%% @copyright 2011 Boundary
%%% @doc
%%% based on https://github.com/codahale/metrics/blob/development/src/main/java/com/yammer/metrics/stats/EWMA.java
%%% references:
Expand Down
6 changes: 2 additions & 4 deletions src/folsom_memory_resource.erl
@@ -1,5 +1,5 @@
%%%
%%% Copyright 2011, fast_ip
%%% Copyright 2011, Boundary
%%%
%%% Licensed under the Apache License, Version 2.0 (the "License");
%%% you may not use this file except in compliance with the License.
Expand All @@ -17,10 +17,8 @@

%%%-------------------------------------------------------------------
%%% File: folsom_memory_resource.erl
%%% @author joe williams <j@fastip.com>
%%% @copyright 2011 fast_ip
%%% @author joe williams <j@boundary.com>
%%% @doc
%%% http end point that converts erlang:memory/0 to json
%%% @end
%%%------------------------------------------------------------------

Expand Down
9 changes: 4 additions & 5 deletions src/folsom_metrics.erl
@@ -1,5 +1,5 @@
%%%
%%% Copyright 2011, fast_ip
%%% Copyright 2011, Boundary
%%%
%%% Licensed under the Apache License, Version 2.0 (the "License");
%%% you may not use this file except in compliance with the License.
Expand All @@ -16,12 +16,11 @@


%%%-------------------------------------------------------------------
%%% @author joe williams <j@fastip.com>
%%% File: folsom_metrics.erl
%%% @author joe williams <j@boundary.com>
%%% @doc
%%% _metrics
%%% @end
%%% Created : 22 Mar 2011 by joe williams <j@fastip.com>
%%%-------------------------------------------------------------------
%%%------------------------------------------------------------------

-module(folsom_metrics).

Expand Down
1 change: 0 additions & 1 deletion src/folsom_metrics_counter.erl
Expand Up @@ -18,7 +18,6 @@
%%%-------------------------------------------------------------------
%%% File: folsom_metrics_counter.erl
%%% @author joe williams <j@boundary.com>
%%% @copyright 2011 Boundary
%%% @doc
%%% @end
%%%-----------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion src/folsom_metrics_gauge.erl
Expand Up @@ -18,7 +18,6 @@
%%%-------------------------------------------------------------------
%%% File: folsom_metrics_gauge.erl
%%% @author joe williams <j@boundary.com>
%%% @copyright 2011 Boundary
%%% @doc
%%% @end
%%%-----------------------------------------------------------------
Expand Down
5 changes: 3 additions & 2 deletions src/folsom_metrics_histogram.erl
@@ -1,3 +1,4 @@
%%%
%%% Copyright 2011, Boundary
%%%
%%% Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -15,10 +16,10 @@


%%%-------------------------------------------------------------------
%%% @author joe williams <j@boundary.com>
%%% File: folsom_metrics_histogram.erl
%%% @author joe williams <j@boundary.com>
%%% @doc
%%% @end
%%% Created : 22 Mar 2011 by joe williams <j@boundary.com>
%%%------------------------------------------------------------------

-module(folsom_metrics_histogram).
Expand Down
4 changes: 2 additions & 2 deletions src/folsom_metrics_history.erl
Expand Up @@ -16,10 +16,10 @@


%%%-------------------------------------------------------------------
%%% @author joe williams <j@boundary.com>
%%% File: folsom_metrics_history.erl
%%% @author joe williams <j@boundary.com>
%%% @doc
%%% @end
%%% Created : 22 Mar 2011 by joe williams <j@boundary.com>
%%%------------------------------------------------------------------

-module(folsom_metrics_history).
Expand Down
4 changes: 2 additions & 2 deletions src/folsom_metrics_meter.erl
Expand Up @@ -16,10 +16,10 @@


%%%-------------------------------------------------------------------
%%% @author joe williams <j@boundary.com>
%%% File: folsom_metrics_meter.erl
%%% @author joe williams <j@boundary.com>
%%% @doc
%%% @end
%%% Created : 22 Mar 2011 by joe williams <j@boundary.com>
%%%------------------------------------------------------------------

-module(folsom_metrics_meter).
Expand Down
5 changes: 2 additions & 3 deletions src/folsom_metrics_resource.erl
@@ -1,5 +1,5 @@
%%%
%%% Copyright 2011, fast_ip
%%% Copyright 2011, Boundary
%%%
%%% Licensed under the Apache License, Version 2.0 (the "License");
%%% you may not use this file except in compliance with the License.
Expand All @@ -17,8 +17,7 @@

%%%-------------------------------------------------------------------
%%% File: folsom_metrics_resource.erl
%%% @author joe williams <j@fastip.com>
%%% @copyright 2011 fast_ip
%%% @author joe williams <j@boundary.com>
%%% @doc
%%% http end point that produces metrics collected from event handlers
%%% @end
Expand Down
9 changes: 4 additions & 5 deletions src/folsom_sample.erl
@@ -1,5 +1,5 @@
%%%
%%% Copyright 2011, fast_ip
%%% Copyright 2011, Boundary
%%%
%%% Licensed under the Apache License, Version 2.0 (the "License");
%%% you may not use this file except in compliance with the License.
Expand All @@ -16,12 +16,11 @@


%%%-------------------------------------------------------------------
%%% @author joe williams <j@fastip.com>
%%% File: folsom_sample.erl
%%% @author joe williams <j@boundary.com>
%%% @doc
%%% unified sample api
%%% @end
%%% Created : 22 Mar 2011 by joe williams <j@fastip.com>
%%%-------------------------------------------------------------------
%%%------------------------------------------------------------------

-module(folsom_sample).

Expand Down
5 changes: 2 additions & 3 deletions src/folsom_sample_exdec.erl
@@ -1,5 +1,5 @@
%%%
%%% Copyright 2011, fast_ip
%%% Copyright 2011, Boundary
%%%
%%% Licensed under the Apache License, Version 2.0 (the "License");
%%% you may not use this file except in compliance with the License.
Expand All @@ -17,8 +17,7 @@

%%%-------------------------------------------------------------------
%%% File: folsom_sample_exdec.erl
%%% @author joe williams <j@fastip.com>
%%% @copyright 2011 fast_ip
%%% @author joe williams <j@boundary.com>
%%% @doc
%%% erlang implementation of a exponentially-decaying random sample
%%% based on a java implementation by coda hale, which can be found at:
Expand Down
5 changes: 2 additions & 3 deletions src/folsom_sample_none.erl
@@ -1,5 +1,5 @@
%%%
%%% Copyright 2011, fast_ip
%%% Copyright 2011, Boundary
%%%
%%% Licensed under the Apache License, Version 2.0 (the "License");
%%% you may not use this file except in compliance with the License.
Expand All @@ -17,8 +17,7 @@

%%%-------------------------------------------------------------------
%%% File: folsom_sample_none.erl
%%% @author joe williams <j@fastip.com>
%%% @copyright 2011 fast_ip
%%% @author joe williams <j@boundary.com>
%%% @doc
%%% no sampling, just a capped circular buffer
%%% @end
Expand Down
5 changes: 2 additions & 3 deletions src/folsom_sample_uniform.erl
@@ -1,5 +1,5 @@
%%%
%%% Copyright 2011, fast_ip
%%% Copyright 2011, Boundary
%%%
%%% Licensed under the Apache License, Version 2.0 (the "License");
%%% you may not use this file except in compliance with the License.
Expand All @@ -17,8 +17,7 @@

%%%-------------------------------------------------------------------
%%% File: folsom_sample_uniform.erl
%%% @author joe williams <j@fastip.com>
%%% @copyright 2011 fast_ip
%%% @author joe williams <j@boundary.com>
%%% @doc
%%% erlang implementation of a uniform random sample
%%% based on a java implementation by coda hale, which can be found at:
Expand Down
5 changes: 2 additions & 3 deletions src/folsom_statistics.erl
@@ -1,5 +1,5 @@
%%%
%%% Copyright 2011, fast_ip
%%% Copyright 2011, Boundary
%%%
%%% Licensed under the Apache License, Version 2.0 (the "License");
%%% you may not use this file except in compliance with the License.
Expand All @@ -17,8 +17,7 @@

%%%-------------------------------------------------------------------
%%% File: folsom_statistics.erl
%%% @author joe williams <j@fastip.com>
%%% @copyright 2011 fast_ip
%%% @author joe williams <j@boundary.com>
%%% @doc
%%% statistics functions for calucating based on id and a list of values
%%% @end
Expand Down
5 changes: 2 additions & 3 deletions src/folsom_statistics_resource.erl
@@ -1,5 +1,5 @@
%%%
%%% Copyright 2011, fast_ip
%%% Copyright 2011, Boundary
%%%
%%% Licensed under the Apache License, Version 2.0 (the "License");
%%% you may not use this file except in compliance with the License.
Expand All @@ -17,8 +17,7 @@

%%%-------------------------------------------------------------------
%%% File: folsom_statistics_resource.erl
%%% @author joe williams <j@fastip.com>
%%% @copyright 2011 fast_ip
%%% @author joe williams <j@boundary.com>
%%% @doc
%%% http end point that converts erlang:statistics/1 to json
%%% @end
Expand Down
5 changes: 2 additions & 3 deletions src/folsom_sup.erl
@@ -1,5 +1,5 @@
%%%
%%% Copyright 2011, fast_ip
%%% Copyright 2011, Boundary
%%%
%%% Licensed under the Apache License, Version 2.0 (the "License");
%%% you may not use this file except in compliance with the License.
Expand All @@ -17,8 +17,7 @@

%%%-------------------------------------------------------------------
%%% File: folsom_sup.erl
%%% @author joe williams <j@fastip.com>
%%% @copyright 2011 fast_ip
%%% @author joe williams <j@boundary.com>
%%% @doc
%%% @end
%%%------------------------------------------------------------------
Expand Down
5 changes: 2 additions & 3 deletions src/folsom_system_resource.erl
@@ -1,5 +1,5 @@
%%%
%%% Copyright 2011, fast_ip
%%% Copyright 2011, Boundary
%%%
%%% Licensed under the Apache License, Version 2.0 (the "License");
%%% you may not use this file except in compliance with the License.
Expand All @@ -17,8 +17,7 @@

%%%-------------------------------------------------------------------
%%% File: folsom_system_resource.erl
%%% @author joe williams <j@fastip.com>
%%% @copyright 2011 fast_ip
%%% @author joe williams <j@boundary.com>
%%% @doc
%%% http end point that converts erlang:system_info/1 to json
%%% @end
Expand Down
5 changes: 2 additions & 3 deletions src/folsom_utils.erl
@@ -1,5 +1,5 @@
%%%
%%% Copyright 2011, fast_ip
%%% Copyright 2011, Boundary
%%%
%%% Licensed under the Apache License, Version 2.0 (the "License");
%%% you may not use this file except in compliance with the License.
Expand All @@ -17,8 +17,7 @@

%%%-------------------------------------------------------------------
%%% File: folsom_utils.erl
%%% @author joe williams <j@fastip.com>
%%% @copyright 2011 fast_ip
%%% @author joe williams <j@boundary.com>
%%% @doc
%%% various util functions
%%% @end
Expand Down
5 changes: 2 additions & 3 deletions src/folsom_vm_metrics.erl
@@ -1,5 +1,5 @@
%%%
%%% Copyright 2011, fast_ip
%%% Copyright 2011, Boundary
%%%
%%% Licensed under the Apache License, Version 2.0 (the "License");
%%% you may not use this file except in compliance with the License.
Expand All @@ -17,8 +17,7 @@

%%%-------------------------------------------------------------------
%%% File: folsom_vm_metrics.erl
%%% @author joe williams <j@fastip.com>
%%% @copyright 2011 fast_ip
%%% @author joe williams <j@boundary.com>
%%% @doc
%%% convert erlang system metrics to proplists
%%% @end
Expand Down
24 changes: 24 additions & 0 deletions test/folsom_erlang_checks.erl
@@ -1,3 +1,27 @@
%%%
%%% Copyright 2011, Boundary
%%%
%%% Licensed under the Apache License, Version 2.0 (the "License");
%%% you may not use this file except in compliance with the License.
%%% You may obtain a copy of the License at
%%%
%%% http://www.apache.org/licenses/LICENSE-2.0
%%%
%%% Unless required by applicable law or agreed to in writing, software
%%% distributed under the License is distributed on an "AS IS" BASIS,
%%% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
%%% See the License for the specific language governing permissions and
%%% limitations under the License.
%%%


%%%-------------------------------------------------------------------
%%% File: folsom_erlang_checks.erl
%%% @author joe williams <j@boundary.com>
%%% @doc
%%% @end
%%%------------------------------------------------------------------

-module(folsom_erlang_checks).

-include_lib("eunit/include/eunit.hrl").
Expand Down

0 comments on commit f4ecca6

Please sign in to comment.