Skip to content

Commit f0dd27a

Browse files
committed
Add file path for README example
1 parent 278be6d commit f0dd27a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/usage_collection/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ class Plugin {
3636
3. Creating and registering a Usage Collector. Ideally collectors would be defined in a separate director `server/collectors/register.ts`.
3737

3838
```ts
39+
// server/collectors/register.ts
3940
import { PluginSetupContract as UsageCollection } from 'src/plugins/usage_collection/server';
4041
import { CallCluster } from 'src/legacy/core_plugins/elasticsearch';
4142

42-
// server/collectors/register.ts
4343
export function registerMyPluginUsageCollector(usageCollection?: UsageCollection): void {
4444
// usageCollection is an optional dependency, so make sure to return if it is not registered.
4545
if (!usageCollection) {

0 commit comments

Comments
 (0)